Implement Move and Copy functionality in MockPageManager

Description

To improve our code-coverage, we'd like to test some classes using pageManager.move(..) and .copy(..).
Sadly those are not implemented in the MockPageManager.

Activity

Show:
Stefan Seifert
March 21, 2016, 5:01 PM

this is not so easy as it seems:

  • the WCM PageManager API has several overloads for copy and move methods

  • both involve control over node ordering (beforeName parameter) which is currently only partially supported in JCR Mock and Resource Resolver Mock implementations

  • a lot of special logic like conflict resolution, reference adjustment, reference publishing is involved.

perhaps not all of this functionality is required in the mocks, but the mocked features should provide consistent behavior.

patches welcome!

Assignee

Unassigned

Reporter

Alexander Muthmann

Labels

None

Components

Priority

Minor
Configure