Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-12764

Node#getPath can throw ItemNotFoundException after move in case requested originating from HippoSharedItemStateManager#stateModified

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Low
    • Resolution: Unresolved
    • None
    • None
    • repository
    • None

    Description

      When a JCR Node gets moved, and saved, then the modified is caught in

      org.hippoecm.repository.jackrabbit.HippoSharedItemStateManager#stateModified
      

      If in this method we fetch the node for the modified state via a system session, and then request #getPath on the node, we get an ItemNotFoundException : The item cannot be found below the new parent. Most likely because other listeners have not yet updated the (session) states in for example the (Caching)HierarchyManager

      I plan to catch the exception in another issue and keep this issue open to be picked up later since it is not critical (once the exception is handled more gracefully)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aschrijvers Ard Schrijvers
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: