Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
5.0.1
-
None
Description
Following the example from https://www.onehippo.org/12/library/concepts/document-types/custom-editor-layout.html leads to NullPointerExceptions.
Replacing:
<?xml version="1.0" encoding="UTF-8"?> <layout> <pad name="left" orientation="vertical" /> <pad name="middle" orientation="vertical" /> <pad name="right" orientation="vertical" /> <transition name="left-middle right" source="left" target="middle" /> <transition name="middle-left left" source="middle" target="left" /> <transition name="middle-right right" source="middle" target="right" /> <transition name="right-middle left" source="right" target="middle" /> </layout>
with
<?xml version="1.0" encoding="UTF-8"?> <layout> <pad name="left" orientation="vertical" /> <pad name="middle" orientation="vertical" /> <pad name="right" orientation="vertical" /> <transition name="right" source="left" target="middle" /> <transition name="left" source="middle" target="left" /> <transition name="right" source="middle" target="right" /> <transition name="left" source="right" target="middle" /> </layout>
fixes the NPEs but fields in the template cannot be moved from middle to right column.
Also, when creating a new document type, the icons for the layouts in the dialog are mixed up, see screenshot.