-
Bug
-
Resolution: Unresolved
-
Major
-
4.2.0
-
None
-
None
-
1 - Middle term
-
2 - Normal
I created a content of type "org.ametys.plugins.news.Content.news" and went in the repository to add another content type : "org.ametys.web.default.Content.article"
When I go in the CMS and hover the type, I only got the 1st one
When using the templates zone-item-before (and other that use the type), only the 1st type is passed.
After a quick debug in page.xsl I found that the information about the content only store the 1st
<information> <type>CONTENT</type> <contentId>defaultWebContent://81cb7359-18ed-4406-9286-56fb9db3cf25</contentId> <contentName>nouvelle-actualite-3</contentName> <metadataSetName>main</metadataSetName> <type-information id="org.ametys.plugins.news.Content.news"> <label>Actualité</label> <description>Contenu structuré représentant une actualité, un événement.</description> <iconGlyph>ametysicon-newspaper1</iconGlyph> <smallIcon>/plugins/news/resources/img/news_16.png</smallIcon> <mediumIcon>/plugins/news/resources/img/news_32.png</mediumIcon> <largeIcon>/plugins/news/resources/img/news_48.png</largeIcon> <css> <file>/plugins/core-ui/resources/font/ametys/AmetysIcon.css</file> </css> </type-information> </information>
The second type seems to be unavailable.