Uploaded image for project: 'Magnolia pages module'
  1. Magnolia pages module
  2. PAGES-1471

In Headless can not copy component into empty area

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: High High
    • None
    • 6.2.34
    • Pages app
    • None

      Steps to reproduce

      Tested in 6.2.39

       

      1. Start any of the minimal demos from https://git.magnolia-cms.com/projects/DEMOS/repos/minimal-headless-spa-demos/browse
      2. Create component on one of the areas
      3. Copy created component
      4. Paste component into EMPTY area

      Expected results

      Component is copied to area

      Actual results

      Caused by: info.magnolia.ui.framework.ContentClipboardException: Failed while pasting items under JCR item.
      	at info.magnolia.ui.contentapp.action.clipboard.JcrClipboard.paste(JcrClipboard.java:111) ~[magnolia-ui-framework-jcr-6.2.39.jar:?]
      	at info.magnolia.ui.contentapp.action.clipboard.JcrClipboard.paste(JcrClipboard.java:62) ~[magnolia-ui-framework-jcr-6.2.39.jar:?]
      	at info.magnolia.pages.app.detail.action.PasteComponentsAction.execute(PasteComponentsAction.java:93) ~[magnolia-pages-app-6.2.31.jar:?]
      	at info.magnolia.ui.api.action.AbstractActionExecutor.execute(AbstractActionExecutor.java:62) ~[magnolia-ui-api-6.2.39.jar:?]
      	... 115 more
      Caused by: javax.jcr.PathNotFoundException: /react-minimal/extras
      	at org.apache.jackrabbit.core.BatchedItemOperations.getNodeState(BatchedItemOperations.java:1453) ~[jackrabbit-core-2.20.11.jar:2.20.11]
      	at org.apache.jackrabbit.core.BatchedItemOperations.getNodeState(BatchedItemOperations.java:1298) ~[jackrabbit-core-2.20.11.jar:2.20.11] 

      Workaround

      No workaround

      Development notes

      Area does not exist in JCR, pasting fails.

        Acceptance criteria

              Unassigned Unassigned
              bstaryga Bartosz Staryga
              DeveloperX
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:

                  Bug DoR
                  Task DoD