Uploaded image for project: 'Hippo Repository'
  1. Hippo Repository
  2. REPO-1230

Cannot depublish, then publish documents when using (deprecated) virtual layers in 7.9

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Top
    • Resolution: Fixed
    • Affects Version/s: 2.26.12
    • Fix Version/s: 2.26.13
    • Labels:
    • Similar issues:

      Description

      When using the deprecated virtual layers in 7.9 [1], unpublishing and subsequent publishing of a document leads to "Action failed" and a stack trace:

      [INFO] [talledLocalContainer] Caused by: javax.jcr.InvalidItemStateException: Could not find child cafeface-0000-0000-0000-000000000005 of node 3fe27928-a54d-4f4a-a465-5f1f830309f0
      [INFO] [talledLocalContainer]   at org.apache.jackrabbit.core.ItemManager.getDefinition(ItemManager.java:209)
      [INFO] [talledLocalContainer]   at org.apache.jackrabbit.core.ItemSaveOperation.validateTransientItems(ItemSaveOperation.java:685)
      [INFO] [talledLocalContainer]   at org.apache.jackrabbit.core.ItemSaveOperation.perform(ItemSaveOperation.java:216)
      [INFO] [talledLocalContainer]   at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
      [INFO] [talledLocalContainer]   at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91)
      [INFO] [talledLocalContainer]   at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:329)
      [INFO] [talledLocalContainer]   at org.apache.jackrabbit.core.session.SessionSaveOperation.perform(SessionSaveOperation.java:65)
      [INFO] [talledLocalContainer]   at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:216)
      [INFO] [talledLocalContainer]   at org.apache.jackrabbit.core.SessionImpl.perform(SessionImpl.java:365)
      [INFO] [talledLocalContainer]   at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:816)
      [INFO] [talledLocalContainer]   at org.hippoecm.repository.decorating.SessionDecorator.save(SessionDecorator.java:192)
      [INFO] [talledLocalContainer]   at org.hippoecm.repository.impl.SessionDecorator.save(SessionDecorator.java:179)
      [INFO] [talledLocalContainer]   at org.onehippo.repository.documentworkflow.task.VersionVariantTask.doExecute(VersionVariantTask.java:53)
      [INFO] [talledLocalContainer]   at org.onehippo.repository.documentworkflow.task.AbstractDocumentTask.execute(AbstractDocumentTask.java:92)
      [INFO] [talledLocalContainer]   ... 62 more
      

      where "cafeface-0000-0000-0000-000000000005" is a virtual node and "3fe27928-a54d-4f4a-a465-5f1f830309f0" is a hippo:facetselect, hippo:mirror, or hippogallerypicker:imagelink node (latter extends hippo:facetselect)

      Reproduction

      • 7.9.7 archetype with essentials
      • install "Events" feature
      • add dependency with deprecated classes to CMS pom
      • unpublish and publish an existing event

      [1] "Enabling the deprecated mirror and facetselect" at the bottom of
      http://www.onehippo.org/library/upgrade-7.8-to-7.9/virtual-providers-mirror-and-facetselect-deprecated.html

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jhoffman Jeroen Hoffman
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: