Details
-
Bug
-
Resolution: Fixed
-
Medium
-
5.4.1
-
None
Description
Steps to reproduce:
$oldLocation = $locationService->loadLocation( $locationId );
$locationCreateStruct = $locationService->newLocationCreateStruct( $newLocationParentId );
$copiedContent = $contentService->copyContent( $oldLocation->contentInfo, $locationCreateStruct );
var_dump( $contentService->loadContentInfo( $copiedContent->id ) );
MainLocationId is set to 0 in dumped content info
Attachments
Issue Links
- is duplicated by
-
EZP-25397 using ContentService->copyContent leads to missing mainLocationId
- Closed