Details
-
Story
-
Resolution: Done
-
High
-
None
-
None
-
[2.2] Sprint 4
-
1
Description
Same feature as v1.13: EZP-27759
This feature should have 2 options:
- button on admin interface as 1.13
- command line
Command line specification
bin/console ezplatform:copy-subtree <sourceLocationId> <targetLocationId>
The command should only output success/failure. Clean messages should be outputted when the source or target locations don't exist. The operation should be done as admin user.
Edge cases:
- Target is not a container -> not possible, impossible to select the content item
- Source is not a container -> possible, it will be just a copy
- Source has no children -> possible, it will be a copy of the content item