Duplicating records removes all records duplicated from #115
Labels
issue: bug
Issue reporting a bug
severity: low
If the issue only affects a very niche base of users and an easily implemented workaround can solve
status: confirmed
Confirmed by maintainer or multiple community members
Bug report
Describe the bug
When duplicating a record, the source record disappears when publishing the new record.
This happens because both records share the same vuid and are not detached from each other after duplicating. Therefore, all source records are hidden after hitting publish on the new record
Steps to reproduce the behavior
Install strapi & this plugin, create a new collection type, e.g. "page"
Go to a list view of any content type
Create and Publish a new record
Go back to list view
Click on "Duplicate Item line 1" (any record)
Click on "Save"
Click on "Publish"
-> only the duplicated record is visible on the list view
Expected behavior
Both, source and duplicated records, are visible after duplicating.
Screenshots
System
Additional context
The text was updated successfully, but these errors were encountered: