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

A filtered content with unpublished shared content is not displayed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 4.7.1, 4.8.0
    • 4.7.0
    • Plugin : Web
    • None
    • 4.8.0 M2

      • on a site A I have content that comes from another site
      • on the original site B the content has been unpublished (and returned to "draft")
      • on site A I have a filtered contents service that is not displayed the contents with the following error :
        Caused by: org.ametys.plugins.repository.AmetysRepositoryException: Unable to resolve the initial content of shared content '/ametys-internal:sites/refonte/ametys-internal:contents/cine-debat-avec-le-centre-de-sante-actualite-shared' (defaultSharedContent://b47719ca-2b76-4f4f-8724-67855fa4131a)
        at org.ametys.web.repository.content.jcr.DefaultSharedContent#getInitialContent:92
        at org.ametys.web.content.ContentPagesGenerator#generate:85
        at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#processXMLPipeline:581
        ... 102 more
        
        Caused by: javax.jcr.ItemNotFoundException: 1a162c9f-b464-4293-a053-065adc774dfa
        at org.apache.jackrabbit.core.ItemManager#getItemData:384
        at org.apache.jackrabbit.core.ItemManager#getItem:328
        at org.apache.jackrabbit.core.ItemManager#getItem:621
        at org.apache.jackrabbit.core.SessionImpl#getNodeById:538
        at org.apache.jackrabbit.core.SessionImpl#getNodeByIdentifier:1142
        at org.ametys.web.repository.content.jcr.DefaultSharedContent#getInitialContent:84
        ... 104 more
        

      If I validate the unpublished content, the filtered content is displayed

            ggouin Guillaume Gouin
            lperier Laurence Perier
            Guillaume Gouin Guillaume Gouin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: