Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.0.0
-
None
Description
When you click the copy class icon in admin that leads you to class/copy/<id> view, the new class gets the same remote id as the old one.
This leads to issues when you're for instance work on a local copy of a site, and want to export your new class (a copy) to the live server that already have the class the copy class is based on. Basically you'll get a warning when you try to import it that the class already exists and options to overwrite it or create a new class based on the package (so it ends up with a different identifier++).
Steps to reproduce
1. Create a copy of a class
2. Look in the ezcontentclass table and compare the remote_id on the two classes