Actions
Bug #75530
closedDuplicating a pagetree with rightclick, copy and paste throws TYPO3 exception
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Pagetree
Target version:
-
Start date:
2016-04-12
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
7
PHP Version:
5.5
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
I'm trying to copy and paste a pagetree recursive. Recursive copy and delete in user settings is enabled and I'm an admin user. Recursive copy is set to 5.
When I copy and paste the root page, I get the following TYPO3 Exception:
PHP Warning: Invalid argument supplied for foreach() in /var/www/htdocs/typo3_src/typo3/sysext/core/Classes/DataHandling/DataHandler.php line 3635
Only the rootpage is pasted, subpages aren't.
Updated by Tobias Pfender over 8 years ago
I guess empty tables cause this problem. I added an if condition to check if the foreach element is an array and isn't empty. Works for me.
Updated by Andreas Kienast over 8 years ago
- Status changed from New to Closed
I'll close this issue as it's a duplicate of #74125.
Actions