Bug report
When attempting to duplicate item in the content manager, the new saved entry is treated as another version of an existing item instead of a separate item.
Steps to reproduce the behavior
- Go to the content manager.
- Enter an item list.
- Click on the "Duplicate item line" button within the list.
- Save entry.
Expected behavior
A new item is created with the data from the duplicated item.
Actual behavior
The data is saved as a new version of the duplicated item.
System
- Node.js version: v16
- Strapi version: 4.5.3
- Database: PostgreSQL 15.1
- Operating system: Debian (via Docker)
Additional context
- The duplicated items have nested component types.
- Localization is turned on.
- Patch for 4.5.0 is used.