-
Bug
-
Resolution: Duplicate
-
Major
-
4.0.2
-
None
-
None
We have a lot of errors like this one :
Can not get metadata 'illustration/image' on content with id 'content://ed1dee09-3853-4d3a-8865-0af298ff45a2' org.ametys.plugins.repository.metadata.UnknownMetadataException: Unknown metadata ametys:image of node /ametys:root/ametys:plugins/contentio/ametys:contents/73/9f/people-roudiere-sebastien-fr/ametys:illustration at org.ametys.plugins.repository.metadata.jcr.JCRCompositeMetadata._getString(JCRCompositeMetadata.java:408) at org.ametys.plugins.repository.metadata.jcr.JCRCompositeMetadata.getString(JCRCompositeMetadata.java:373) at org.ametys.cms.transformation.xslt.AmetysXSLTHelper._getMetadata(AmetysXSLTHelper.java:222) at org.ametys.cms.transformation.xslt.AmetysXSLTHelper._getMetadata(AmetysXSLTHelper.java:226) at org.ametys.cms.transformation.xslt.AmetysXSLTHelper.contentMetadata(AmetysXSLTHelper.java:202) at sun.reflect.GeneratedMethodAccessor111.invoke(Unknown Source)
It should be better to trace that in warning and to add a method hasMetadata.
- duplicates
-
CMS-7066 The CMS does not store a numeric metadata that is empty but then it expects it
- Closed