copying contentobject with included objects is completely broken
copying contentobject with included objects is completely broken. Appartently, after the changes to the internal links, resources tags are included, but not adjusted to the correct IDs. I discussed this already with developer Sven Vanpoucke.
So if you have a document with included swf and copy it, when you change the .swf object, the copied document wil not show the change.
We have alot of these objects which must be copied or changed.
This is a huge problem for our clients but also for the repository feature of chamilo LCMS in general.
In chamilo 2.1 it was working fine, With last migration it is not working fine anymore. I also notice that is is apparent in pre chamilo release objects. New objects do not have these problems.
Updated by Parcifal Aertssen over 10 years ago
The problem is located in the repository, in the file content_object_copier.class.php, the function copy_includes() changes the references to the new content objects, but this is no longer working due to changes in C3. You should have a look at the import/export functionality to see the correct implementation for C3.