Path

ez projects / merge / forum / general / more detail on merging


More detail on merging

You need to be logged in to post messages in the forums. New users may register here.

Geoff Bentley

Member since:
08 December 2007

Posts: 47

Thursday 31 May 2012 6:35:54 am

Could you give some more details on what is merged, and how? Maybe an example, with translations, and versions?

Many thanks,
Geoff

Update: from the README on GitHub (answering some of my query)

Supported features
Merge will copy selected content translations from the different attributes to the master content object ("Merge to..." column). This will be done by adding a new version on the master. It will use the builtin toString()/fromString() functionality for the copying.

For attributes of the object relation list datatype it will merge the relations from the two objects into the master (sort order will be master relations first, then slave relations).

Any reverse related objects will be updated to relate to the master object instead of the slave. This supports attributes of the object relation list datatype, single object relations, and XML fields. The children of any slave nodes will be moved to the master main node.

Each translation from the two objects will be created on the master object.

The slave object will be removed after the merge.

Todo
The merge does not support url alias history. When slave object is merged into master, url aliases should be updated to forward any urls to the master object.
Up

You need to be logged in to post messages in the forums. New users may register here.