Skip to content

Duplicating resources does not populate relation inputs #15093

@samturrell

Description

@samturrell

Bug report

Required System information

  • Node.js version: v14.19.3
  • NPM version: 6.14.17
  • Strapi version: 4.5.3
  • Database: mysql
  • Operating system: macOS

Describe the bug

When duplicating a page, relation inputs aren't populated.

Steps to reproduce the behavior

  1. Create a resource with a linked relation
  2. Go to the collection listing page
  3. Click to duplicate an item
  4. Observe that the relations are not pulled through

See the recording below:

https://www.loom.com/share/816a4bb8b0db4d3a8c242c6ac5e07969

Expected behavior

Relations should be pulled through from the resource being duplicated.

Screenshots

https://www.loom.com/share/816a4bb8b0db4d3a8c242c6ac5e07969

Code snippets

N/A

Additional context

N/A

Metadata

Metadata

Labels

issue: bugIssue reporting a bugseverity: mediumIf it breaks the basic use of the product but can be worked aroundsource: core:content-managerSource is core/content-manager packagestatus: confirmedConfirmed by a Strapi Team member or multiple community members

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions