Uploaded image for project: '[Read Only] - Hippo Plugins'
  1. [Read Only] - Hippo Plugins
  2. HIPPLUG-1239

ContentBlock should use new NodeComparer for better support nesting block fields inside compound fields

    XMLWordPrintable

Details

    • Turing Sprint 120, Turing Sprint 121

    Description

      The fix in CMS-9721 does not cover the following corner case:

      • CMS version: 3.1.4-SNAPSHOT
      • Content-blocks plugin version: 2.1.1

      Steps:

      1. Create CompoundA type having a string field
      2. Create CompoundB type having a content block field with CompoundA and Link options
      3. Create CompoundC type having a content block field with CompoundA and CompoundB options
      4. Create DocumentTypeA having a field of type CompoundC.
      5. Create a sample document of type DocumentTypeA:
        • Add some content in content block fields.
        • Make publication.
        • Edit the published document, add some changes in these field.
        • Click Save & Close.

      Result: A change is not visible and a warning is shown in the console:

      [INFO] [talledLocalContainer] 31.12.2015 11:28:19 WARN  http-nio-8080-exec-1 [NodeComparer.getNodeTypeDescriptor:195] Cannot obtain the descriptor of the node type 'myhippoproject:CompoundA' because the template engine is not given for the field at '/content/documents/myhippoproject/docb/docb[3]/myhippoproject:myhippoproject_compoundc/myhippoproject:blockfields[2]/myhippoproject:MyBlock'. Using the preconfigured type descriptor 'myhippoproject:CompoundB'
      [INFO] [talledLocalContainer] 31.12.2015 11:28:19 WARN  http-nio-8080-exec-1 [NodeComparer.getNodeTypeDescriptor:195] Cannot obtain the descriptor of the node type 'myhippoproject:CompoundA' because the template engine is not given for the field at '/content/documents/myhippoproject/docb/docb/myhippoproject:myhippoproject_compoundc/myhippoproject:blockfields[2]/myhippoproject:MyBlock'. Using the preconfigured type descriptor 'myhippoproject:CompoundB''
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: