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)
- duplicates
-
CMS-5274 Missing metadata in contents
- Closed