[+BUGFIX] Extbase (Persistence): Fixed handling of cloned object storages.
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Classes / DomainObject / AbstractDomainObject.php
index 3f04032..1669816 100644 (file)
@@ -134,7 +134,7 @@ abstract class Tx_Extbase_DomainObject_AbstractDomainObject implements Tx_Extbas
         * @return boolean
         */
        public function _isNew() {
-               return $this->uid === NULL;
+               return ($this->uid === NULL) || $this->_isClone();
        }
 
        /**