Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-10941

Regression: three column layout for cms document gives errors

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 5.0.1
    • 5.1.0
    • 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.

      Attachments

        Issue Links

          Activity

            People

              clientserviceteam Client Service Team
              nvankampenhout Niels van Kampenhout
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: