[+BUGFIX] Extbase (Persistence). Again a follow-up, sorry.
authorJochen Rau <j.rau@web.de>
Sat, 7 Nov 2009 17:30:02 +0000 (17:30 +0000)
committerJochen Rau <j.rau@web.de>
Sat, 7 Nov 2009 17:30:02 +0000 (17:30 +0000)
typo3/sysext/extbase/Classes/Persistence/ObjectStorage.php

index f3095e0..16115bf 100644 (file)
@@ -277,7 +277,6 @@ class Tx_Extbase_Persistence_ObjectStorage implements Iterator, Countable, Array
                        $clonedStorage = array();
                        foreach ($this->storage as $object) {
                                if ($object instanceof Tx_Extbase_DomainObject_AbstractDomainObject) {
-                                       $object->_setProperty('uid', NULL);
                                        $clonedStorage[] = clone $object;
                                }
                        }