Improvements on folder migration
Control on ERP5Site_setNewIdPerBundle if id remains equal
It could be that the method to determine the new id during a folder migration returns the same id of the object (this is, there is an intention to not change the ids of certain objects) and ERP5Site_setNewIdPerBundle
will fail as it will try to do object.setId(same_id)
.
This merge request adds a control for cases like this to allow migrations of that tipe.
For example in officejs-appstore!16 (merged), the script Base_generateIdFromCreationDate
returns a new id format only for default int ids. For custom ids, it returns the same old_id to avoid breaking something after a module migration.
Bundle parameter configurable on folder migration and higher migration priority
To ensure the number of activities doesn't increase infinitely with large module contents and to prevent conflicts on the module itself