Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
content-blocks-2.1.1
-
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:
- Create CompoundA type having a string field
- Create CompoundB type having a content block field with CompoundA and Link options
- Create CompoundC type having a content block field with CompoundA and CompoundB options
- Create DocumentTypeA having a field of type CompoundC.
- 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
- is a forward port of
-
HIPPLUG-1241 Forward port to trunk/10.2 - ContentBlock should use new NodeComparer for better support nesting block fields inside compound fields
- Closed
- is a result of
-
CMS-9721 Content blocks: Change not visible in the CMS before publishing (with patch)
- Closed