Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
erp5 erp5
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 139
    • Merge requests 139
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • erp5erp5
  • Merge requests
  • !1394

Merged
Created Apr 12, 2021 by Roque@rporchettoDeveloper

Improvements on folder migration

  • Overview 16
  • Commits 2
  • Changes 5

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

Edited Apr 21, 2021 by Roque
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: roque_officejs
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7