-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
4.4 M4
How to reproduce :
1/ On exhaustive content, declare following view :
<cms:view name="details"> <cms:group> <cms:label i18n="false">Label View Mag</cms:label> <cms:description i18n="false">Description de la view Mag</cms:description> <cms:attribute-ref name="title"/> <cms:attribute-ref name="owns"> <cms:view name="details"/> </cms:attribute-ref> </cms:group> </cms:view>
2/ When launching CMS, following error is diplayed :
Caused by: org.apache.avalon.framework.configuration.ConfigurationException: The view 'details' does not exist in content type 'org.ametys.test.Content.exhaustif' referenced by the attribute named 'owns'. @file:///D:/Dev/Ametys-1/templates/web/master/webapp/cms/plugins/exhaustif/content-types/exhaustif.xml:898:39Caused by: org.apache.avalon.framework.configuration.ConfigurationException: The view 'details' does not exist in content type 'org.ametys.test.Content.exhaustif' referenced by the attribute named 'owns'. @file:///D:/Dev/Ametys-1/templates/web/master/webapp/cms/plugins/exhaustif/content-types/exhaustif.xml:898:39 at org.ametys.cms.contenttype.ContentTypeViewParser._parseContentAttributeViewItem(ContentTypeViewParser.java:249) at org.ametys.cms.contenttype.ContentTypeViewParser._parseModelViewItem(ContentTypeViewParser.java:206) at org.ametys.cms.contenttype.ContentTypeViewParser._parseSimpleViewItemGroup(ContentTypeViewParser.java:384) at org.ametys.cms.contenttype.ContentTypeViewParser._fillViewItems(ContentTypeViewParser.java:157) at org.ametys.cms.contenttype.ContentTypeViewParser.parseView(ContentTypeViewParser.java:128) at org.ametys.cms.contenttype.DefaultContentType._parseViews(DefaultContentType.java:1140) ... 213 more
- discovered while testing
-
CMS-10467 Enhance the default automatic rendering for contents with nested attributes and views
- Closed