Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • erp5 erp5
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 141
    • Merge requests 141
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • 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
Time tracking
Source branch: jerome_clone_transformation
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7