Bug #40664

Cut and Paste of Content Elements gives 500

Added by Adrian Föder almost 3 years ago. Updated almost 3 years ago.

Status:Resolved Start date:2012-09-06
Priority:Should have Due date:
Assigned To:Aske Ertmann % Done:

100%

Category:Node handling
Target version:Base Distribution - Sprint 10 (1.0 TP1)

Description

When cutting and pasting, an Error occurs, saying

[06-Sep-2012 06:05:43 UTC] PHP Fatal error: Call to undefined method TYPO3\TYPO3CR\Domain\Model\ProxyNode::setPath() in C:\Users\afoeder\PhpstormProjects\Edsh\edsh.de\Data\Temporary\Development\Cache\Code\FLOW3_Object_Classes\TYPO3_TYPO3CR_Domain_Model_Node_Original.php on line 222

The loop on the mentioned line seems to unintendedly get a ProxyNode instead of a "plain" node.

May this (again) be due to a "went inconsistent" persisted nodes state?


Related issues

related to Base Distribution - Story #40585: [Page Tree] As a content editor I want to move pages by d... Closed 2011-12-05

Associated revisions

Revision 7a8f6c9d
Added by Aske Ertmann almost 3 years ago

[BUGFIX] Make setPath public again for proxy node compatibility

The method setPath was changed to protected in I59f27620873400045ca3fac1bb7918a224665671
and automatically called from construct, but this leads to issues when setting the path
on a proxy node which already exists

Change-Id: I1279e135a4011fe7461f52fba1412af79dcd0f46
Fixes: #40664

History

#1 Updated by Karsten Dambekalns almost 3 years ago

  • Status changed from New to Accepted
  • Assigned To changed from Karsten Dambekalns to Aske Ertmann
  • Target version set to Sprint 10 (1.0 TP1)

No, this is a "real bug" :) But Aske fixed it already last night, push pending AFAIK.

#2 Updated by Gerrit Code Review almost 3 years ago

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14411

#3 Updated by Gerrit Code Review almost 3 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/14411

#4 Updated by Anonymous almost 3 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF