[PAGES-1471] In Headless can not copy component into empty area Created: 25/Oct/23  Updated: 25/Oct/23

Status: Open
Project: Magnolia pages module
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: High
Reporter: Bartosz Staryga Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screenshot 2023-10-25 at 10.44.14.png    
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

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.


Generated at Mon Feb 12 06:28:29 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.