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

Cannot create new document type

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 13.3.0
    • None
    • None
    • Tiger
    • Tiger Sprint 211

    Description

      Reproduction path:

      1. start a new project with the archetype
      2. in the content / document types part: create a new document type
      3. choose the 2 column layout
      4. add a String field to the left column
      5. Save the document type

      Result: error. Stacktrace in the tomcat logs:

       

       

      [INFO] [talledLocalContainer] 27.06.2019 13:32:34 ERROR http-nio-8080-exec-2 [TemplateBuilder.updatePrototype:988] Failed to update prototype
      [INFO] [talledLocalContainer] 27.06.2019 13:32:34 ERROR http-nio-8080-exec-2 [FieldPluginEditorPlugin$PropertyEditor.getClusterParameters:155] failed to add child node to plugin config
      [INFO] [talledLocalContainer] javax.jcr.nodetype.ConstraintViolationException: /hippo:namespaces/myproject/testdoc/hipposysedit:prototypes/hipposysedit:prototype: mandatory property {http://www.onehippo.org/jcr/hippotranslation/nt/1.0}id does not exist
      [INFO] [talledLocalContainer] at org.apache.jackrabbit.core.ItemSaveOperation.validateTransientItems(ItemSaveOperation.java:537) ~[jackrabbit-core-2.16.2-h3.jar:13.3.0-SNAPSHOT]
      [INFO] [talledLocalContainer] at org.apache.jackrabbit.core.ItemSaveOperation.perform(ItemSaveOperation.java:216) ~[jackrabbit-core-2.16.2-h3.jar:13.3.0-SNAPSHOT]
      [INFO] [talledLocalContainer] at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216) ~[jackrabbit-core-2.16.2-h3.jar:2.16.2-h3]
      [INFO] [talledLocalContainer] at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91) ~[jackrabbit-core-2.16.2-h3.jar:13.3.0-SNAPSHOT]
      [INFO] [talledLocalContainer] at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:329) ~[jackrabbit-core-2.16.2-h3.jar:13.3.0-SNAPSHOT]
      [INFO] [talledLocalContainer] at org.apache.jackrabbit.core.session.SessionSaveOperation.perform(SessionSaveOperation.java:65) ~[jackrabbit-core-2.16.2-h3.jar:2.16.2-h3]
      [INFO] [talledLocalContainer] at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216) ~[jackrabbit-core-2.16.2-h3.jar:2.16.2-h3]
      [INFO] [talledLocalContainer] at org.apache.jackrabbit.core.SessionImpl.perform(SessionImpl.java:367) ~[jackrabbit-core-2.16.2-h3.jar:13.3.0-SNAPSHOT]
      [INFO] [talledLocalContainer] at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:856) ~[jackrabbit-core-2.16.2-h3.jar:13.3.0-SNAPSHOT]
      [INFO] [talledLocalContainer] at org.hippoecm.repository.impl.SessionDecorator.save(SessionDecorator.java:243) ~[hippo-repository-engine-13.3.0-SNAPSHOT.jar:13.3.0-SNAPSHOT]
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.editor.plugins.field.FieldPluginEditorPlugin$PropertyEditor.getClusterParameters(FieldPluginEditorPlugin.java:153) [hippo-cms-editor-frontend-13.3.0-SNAPSHOT.jar:13.3.0-SNAPSHOT]
      [INFO] [talledLocalContainer] at org.hippoecm.frontend.editor.plugins.field.FieldPluginEditorPlugin$PropertyEditor.onBeforeRender(FieldPluginEditorPlugin.java:128) [hippo-cms-editor-frontend-13.3.0-SNAPSHOT.jar:13.3.0-SNAPSHOT]
      [INFO] [talledLocalContainer] at org.apache.wicket.Component.internalBeforeRender(Component.java:950) [wicket-core-7.11.0.jar:7.11.0]
      [INFO] [talledLocalContainer] at org.apache.wicket.Component.beforeRender(Component.java:1018) [wicket-core-7.11.0.jar:7.11.0]
      [INFO] [talledLocalContainer] at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1826) [wicket-core-7.11.0.jar:7.11.0]
      [INFO] [talledLocalContainer] at org.apache.wicket.Component.onBeforeRender(Component.java:3918) [wicket-core-7.11.0.jar:7.11.0]
      [INFO] [talledLocalContainer] at org.apache.wicket.Component.internalBeforeRender(Component.java:950) [wicket-core-7.11.0.jar:7.11.0]
      [INFO] [talledLocalContainer] at org.apache.wicket.Component.beforeRender(Component.java:1018) [wicket-core-7.11.0.jar:7.11.0]
      [INFO] [talledLocalContainer] at org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1826) [wicket-core-7.11.0.jar:7.11.0]
      [INFO] [talledLocalContainer] at org.apache.wicket.Component.onBeforeRender(Component.java:3918) [wicket-core-7.11.0.jar:7.11.0]
      etc...
      

       

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            bleunis Bert Leunis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: