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

[Last Publications] Error when searching for contents

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • 4.1.0
    • 4.0M8
    • Plugin : Search
    • None

      HTR (screenshots)

      1st search : all sites and validated after the 18th => normal behavior

      2nd search : all sites and validated after the 16th => error (see below)

      3rd search : current site and validated after the 16th => normal behavior

      I can't figure out what the bug is, but I think it might be due to the fact that there are too many results.

      abe4ac69-0658-4eb1-a922-e04c94c0c8a2
      javax.jcr.ItemNotFoundException: abe4ac69-0658-4eb1-a922-e04c94c0c8a2 
          at org.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:384) 
          at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:328) 
          at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:622) 
          at org.apache.jackrabbit.core.SessionImpl.getNodeById(SessionImpl.java:536) 
          at org.apache.jackrabbit.core.SessionImpl.getNodeByIdentifier(SessionImpl.java:1102) 
          at org.ametys.plugins.repository.jcr.SimpleAmetysObjectFactory.getNode(SimpleAmetysObjectFactory.java:176) 
      

        1. search1.png
          search1.png
          44 kB
        2. search1 results.png
          search1 results.png
          49 kB
        3. search2.png
          search2.png
          44 kB
        4. search2 results.png
          search2 results.png
          50 kB
        5. search3.png
          search3.png
          44 kB
        6. search3 results.png
          search3 results.png
          50 kB

          [CMS-7567] [Last Publications] Error when searching for contents

          already fixed

          i have no error in UI and a WARN in logs :

          The Solr indexed Ametys object with id 'defaultWebContent://821676f0-9197-4512-bf71-23b98460aa7b' does not exist. A full reindexation is required.

          Simon Prieul (Inactive) added a comment - already fixed i have no error in UI and a WARN in logs : The Solr indexed Ametys object with id 'defaultWebContent://821676f0-9197-4512-bf71-23b98460aa7b' does not exist. A full reindexation is required.

          I think the solr index is not synchronized with JCR contents.
          A content is still indexed in solr whereas the content does not exists anymore.
          In this case, we should ignore the solr result.

          A reindexation should fix the problem.

          Laurence Aumeunier added a comment - I think the solr index is not synchronized with JCR contents. A content is still indexed in solr whereas the content does not exists anymore. In this case, we should ignore the solr result. A reindexation should fix the problem.

            Unassigned Unassigned
            dlagouilly Doha Lagouilly (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: