-
Notifications
You must be signed in to change notification settings - Fork 218
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
Nested Grid Elements Cannot Be Copied and Pasted Correctly in Version 10.1.0 #2201
Comments
@NamelessCoder I'm not sure but maybe this has something to do with the Bugfix #2191 |
I have encountered that issue too. It looks like it's connected with "DoctrineProxy". Error occures on content paste ajax call. SS from stacktrace with dump for query parts ( As you see, QueryBuilder needs array of arrays and error occures when only one child is provided. I hope that info helps somehow ;) |
In previous cases this has been caused by using |
@NamelessCoder I've changed https://github.com/FluidTYPO3/flux/blob/development/Classes/Integration/HookSubscribers/DataHandlerSubscriber.php#L166 to |
@rupasix Thanks for the confirmation! If you have time, I'd appreciate a pull request - otherwise I'll take care of it next time I have a round of bug fixing. |
I have checked that the bug exists in the dev-development branch
Yes, I get the same error.
I have checked that there are no already open issues or recently closed issues about this bug
Yes
Describe the bug
In version 10.1.0 of the FluidTYPO3 flux extension, it is not possible to correctly copy and paste nested grid elements in the TYPO3 backend. The copied nested grid elements are inserted incorrectly. This issue does not occur in version 10.0.10, where copied entries are correctly inserted during page editing. The content itself is gone.
To Reproduce
Steps to reproduce the behavior:
Go to the TYPO3 backend.
Create a grid element and nest another grid element inside it.
Copy the parent grid element and paste it elsewhere.
Observe that the nested grid elements are incorrectly inserted or not inserted at all.
Expected behavior
The copied parent grid element and its nested child grid elements should be correctly inserted in the page editing view, as is the case in version 10.0.10.
Screenshots
Screenshot 1: Shows the correct behavior in version 10.0.10.
Screenshot 2: Shows the incorrect behavior in version 10.1.0.
Additional context
This issue significantly affects page editing workflows where nested grid elements are used.
Screenshot 1
Screenshot 2
The text was updated successfully, but these errors were encountered: