Uploaded image for project: 'Workspaces'
  1. Workspaces
  2. WORKSPACES-1007

An observer failed after deleting a news page from FO

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 2.0.0
    • None
    • None
    • None
    • WORKSPACES 2.0.0

      Error in logs after deleting a news page from FO

      org.ametys.plugins.repository.AmetysRepositoryException: Unable to get contentType property
      	at org.ametys.cms.repository.DefaultContent.getTypes(DefaultContent.java:168)
      	at org.ametys.cms.contenttype.ContentTypesHelper.isInstanceOf(ContentTypesHelper.java:201)
      	at org.ametys.plugins.workspaces.members.observers.InvalidateZoneItemCacheOnMemberModificationObserver.supports(InvalidateZoneItemCacheOnMemberModificationObserver.java:60)
      	at org.ametys.core.observation.ObservationManager._addSupportedObserver(ObservationManager.java:175)
      	at org.ametys.core.observation.ObservationManager.notify(ObservationManager.java:129)
      	at org.ametys.cms.repository.ContentDAO._reallyDeleteContent(ContentDAO.java:384)
      	at org.ametys.cms.repository.ContentDAO.deleteContents(ContentDAO.java:342)
      	at org.ametys.cms.repository.ContentDAO.deleteContents(ContentDAO.java:319)
      	at org.ametys.web.repository.page.PageDAO.deletePage(PageDAO.java:1290)
      	at org.ametys.web.repository.page.PageDAO.deletePage(PageDAO.java:1249)
      Caused by: javax.jcr.InvalidItemStateException: Item does not exist anymore: 79113c7d-7f11-44de-8af0-b36bc66d7537
      	at org.apache.jackrabbit.core.ItemImpl.itemSanityCheck(ItemImpl.java:116)
      	at org.apache.jackrabbit.core.ItemImpl.sanityCheck(ItemImpl.java:104)
      	at org.apache.jackrabbit.core.NodeImpl.hasProperty(NodeImpl.java:2456)
      	at org.ametys.cms.repository.DefaultContent.getTypes(DefaultContent.java:149)
      	... 135 more
      

      As consequence, after deleting a news, news carousel does not work anymore (rebuild live site solve the problem)

            laurence Laurence Aumeunier
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: