Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-8655

org.ametys.plugins.repository.metadata.UnknownMetadataException: Unknown metadata ametys:image

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • 4.2.0
    • 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.

            Unassigned Unassigned
            fravetier Frederic Ravetier (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: