Details
-
Bug
-
Resolution: Fixed
-
High
-
5.3.5.1, 5.4.6
Description
Taking a \eZPageZone and try to clone it via clone $pageZone. The zone has a new IDs, the blocks have new IDs, but the zone_id inside the blocks are kept and do not match the id of the newly created zone. Don't know if this will have any effect, but it seems inconsistent and wrong.
source:
<?xml version="1.0"?> <page> <zone_layout>stvd_zone_layout_series</zone_layout> <zone id="id_a2614f21683543ec69254144dc12339d"> <zone_identifier>main</zone_identifier> <block id="id_6c06e50939bbd81e4b2e9d7c2c1a84dd"> <name></name> <zone_id>a2614f21683543ec69254144dc12339d</zone_id> <type>my_block</type> <view>default</view> <overflow_id></overflow_id> </block> </zone> </page>
clone:
<?xml version="1.0"?> <page> <zone_layout>stvd_zone_layout_series</zone_layout> <zone id="id_9132cff962f3e1bba19716263e7e6cdf"> <zone_identifier>main</zone_identifier> <block id="id_2dcce4012095d94398031367644961bd"> <name></name> <zone_id>a2614f21683543ec69254144dc12339d</zone_id> <type>my_block</type> <view>default</view> <overflow_id></overflow_id> </block> </zone> </page>
Attachments
Issue Links
- links to