Skip to content

[Bug]: Issue in retrieving content-type with components along with locale #2693

@santoshbmath

Description

@santoshbmath

Link to the documentation page or resource

https://docs.strapi.io/cms/api/rest#get-all

Describe the bug

We have created a content-type with one component and one text field. Both text field and components are localized.

When tried to get the documents for content-type for particular locale ("fr"), component's locale is not returned instead recent records are returned.

URL: http://:443/api/site-sections?locale=fr&populate=*

Image

Additional context

Version: 5.12.4

Suggested improvements or fixes

No response

Related issue(s)/PR(s)

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions