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

[Forward-port to 4.1] - Exceptions when adding field(s) to a document type

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 4.0.1, 4.1.0
    • 4.1.0
    • None
    • None

    Description

      Reproduction path:

      1. Create & run a new project generated from archetype 4.0.0
        mvn archetype:generate \
        -DarchetypeGroupId=org.onehippo.cms7 \
        -DarchetypeArtifactId=hippo-project-archetype \
        -DarchetypeVersion=4.0.0 \
        -DarchetypeRepository=http://maven.onehippo.com/maven2
        
      2. Create a new document type, adding any field.
      3. The console logs the following exception:
      INFO] [talledLocalContainer] 27.06.2016 23:03:03 WARN  http-nio-8080-exec-7 [AbstractTextComponent.getModelType:170] Couldn't resolve model type of Model:classname=[org.apache.wicket.model.PropertyModel]:nestedModel=[Model:classname=[org.apache.wicket.model.Model]:object=[JcrPluginConfig:/hippo:namespaces/myhippoproject/Profile/editor:templates/_default_/date]]:expression=[caption] for [TextField [Component id = widget]], please set the type yourself.
      [INFO] [talledLocalContainer] 27.06.2016 23:03:04 WARN  http-nio-8080-exec-7 [JcrItemModel.writeObject:352] Undetached JcrItemModel /hippo:namespaces/system/Date/editor:templates/_default_/root
      [INFO] [talledLocalContainer] 27.06.2016 23:03:04 WARN  http-nio-8080-exec-7 [JcrItemModel.writeObject:352] Undetached JcrItemModel /hippo:namespaces/system/Date/editor:templates/_default_
      
      [INFO] [talledLocalContainer] 27.06.2016 23:03:22 WARN  http-nio-8080-exec-1 [JcrItemModel.writeObject:352] Undetached JcrItemModel /hippo:namespaces/system/Date/editor:templates/_default_/root
      [INFO] [talledLocalContainer] 27.06.2016 23:03:22 WARN  http-nio-8080-exec-1 [JcrItemModel.writeObject:352] Undetached JcrItemModel /hippo:namespaces/system/Date/editor:templates/_default_
      

      Attachments

        Issue Links

          Activity

            People

              pgupta Pankaj Gupta (Inactive)
              cngo Canh Ngo (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: