Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Cut & paste does not work if new parent does not exist in original dimension #5368

Open
1 task done
pKallert opened this issue Nov 15, 2024 · 1 comment
Open
1 task done
Assignees

Comments

@pKallert
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When cut & pasting a node using the "scatter" strategy in a dimension where the new parent does not exist in the original dimension, I get an error.

Right now locally I am running into the error
Bildschirmfoto 2024-11-15 um 09 45 59

But I used to run into the error: https://github.com/neos/neos-development-collection/blob/9.0/Neos.ContentRepository.Core/Classes/Feature/NodeMove/NodeMove.php#L129

Hint: I hard-coded the Strategy to SCATTER in the Neos UI

Expected Behavior

I would expect the same behavior as in 8.3 -> that I can cut& paste content to a parent even if the parent does not exist in the "original" dimension

Steps To Reproduce

  1. Copy & create "Features > Multiple Columns" to german
  2. Create new page in German under home named "Testing"
  3. Create "Three column element" in Testing
  4. Publish All
  5. Cut & Paste Any Content inside the columns in "Multiple Columns" to "Three column element" in "Testing"
  6. Error is thrown

Environment

- Flow:
- Neos:
- PHP:

Anything else?

No response

@mhsdesign
Copy link
Member

We should try to relax the constraint checks and introduce a test for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants