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 137
    • Merge requests 137
  • 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
  • !148

Closed
Created Jul 25, 2016 by Jérome Perrin@jeromeOwner
  • Report abuse
Report abuse

fix manage_afterClone protocol to conform with zope implementation and fix cloning transformation bug using this new protocol

  • Overview 5
  • Commits 6
  • Changes 25

In Zope OFS' manage_afterClone suports an item argumetn that is set to the object actually being copied.

After this change, _afterClone scripts are called recursively and item argument is passed so that objects and subobjects being cloned implement different behaviours in _afterClone depending on the object itself is being cloned or a parent object is cloned

The second part of the patch set is a bug fix for https://nexedi.erp5.net/bug_module/20160719-1B69F57 that needed this change.

test results: https://nexedi.erp5.net/test_result_module/20160725-3FCD91E7 (the failures are unrelated, I started this branch on a buggy master).

I don't know who can review that ... @gabriel @kazuhiko @romain any objections ?

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: jerome_clone_transformation
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7