System Information
- Strapi Version: 4.1.12
- Operating System: Ubuntu 20.04
- Database: SQLite
- Node Version: 16.13
- NPM Version: 8.1.0
- Yarn Version: 1.22.18
Hello Strapi-Community ,
when duplicating an entity with relations to another collection type, the original entity loses it’s relations as soon as the save-button is pressed.
Is there a way to prevent this behavior?
To illustrate the problem, I made the following GIF:
The workaround for the moment is to delete all relations one by one before pressing the save-button but this can get quite cumbersome if you have one-to-many relations.
From my standpoint, it would be better to not copy over the relations while duplicating in general. Cause this can lead to much confusion if you don’t know that this is actually happening.
Greetings and thanks for taking the time to read my post, Mirko