Skip to content

Relation lazy loading shows only ID instead of the configured entry title #19625

@AndColla

Description

@AndColla

Bug report

Required System information

  • Node.js version: v18.19.1
  • Yarn version: 1.22.21
  • Strapi version: v4.20.2
  • Database: sqlite/postgres
  • Operating system: linux-x64
  • Is your project Javascript or Typescript: JS

Describe the bug

When I have a many-to-many relation with more than 5 elements, the related elements in the admin panel are lazy loaded. The first 5 elements are shown correctly with the entry title and their status (published or draft). If I load more elements with the load more button the new elements are shown only by their IDs.

Steps to reproduce the behavior

  1. Create a many-to-many relation
  2. Add more than 5 elements to the relation
  3. Reload the page of the entry with more than 5 related objects
  4. Click on "Load more"

Expected behavior

I should get the new elements with their status (published or draft) and their correct names.

Screenshots

image

Metadata

Metadata

Assignees

Labels

flag: EEIssues correlates to internal EE ticketissue: bugIssue reporting a bugseverity: highIf it breaks the basic use of the productsource: core:content-managerSource is core/content-manager packagestatus: confirmedConfirmed by a Strapi Team member or multiple community membersversion: 4Issue is present in Strapi v4version: 5Issue is present in Strapi 5

Type

No type

Projects

Status

Fixed/Shipped

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions