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

Copy/paste page with content gives error on live

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • 3.5.4, 3.7
    • 3.5.3
    • None
    • None

      How to reproduce :

      • create a page with an article
      • validate the article
      • copy this page
      • paste this page (with option to duplicate content)
      • validate the duplicate content
        During validation, you got an error.

      Moreover, you cannot rebuild the workspace live through administration (because you get the same error)

      Caused by: org.ametys.plugins.repository.metadata.UnknownMetadataException: javax.jcr.PathNotFoundException: ametys:lastModified
      	at org.ametys.plugins.repository.metadata.jcr.JCRCompositeMetadata._getDate(JCRCompositeMetadata.java:551)
      	at org.ametys.plugins.repository.metadata.jcr.JCRCompositeMetadata.getDate(JCRCompositeMetadata.java:517)
      	at org.ametys.cms.repository.DefaultContent.getLastModified(DefaultContent.java:140)
      	at org.ametys.web.lucene.DefaultPageIndexer._getLastModificationDate(DefaultPageIndexer.java:293)
      	at org.ametys.web.lucene.DefaultPageIndexer.index(DefaultPageIndexer.java:196)
      	at sun.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.ametys.runtime.plugin.component.PluginsComponentManager$ComponentInvocationHandler.invoke(PluginsComponentManager.java:159)
      	at $Proxy46.index(Unknown Source)
      

            Unassigned Unassigned
            ogehin Olivier Gehin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: