[-TASK] Extbase: Reverted a change introduced in r2245 ("Improved error message for...
authorJochen Rau <j.rau@web.de>
Thu, 29 Apr 2010 07:53:46 +0000 (07:53 +0000)
committerJochen Rau <j.rau@web.de>
Thu, 29 Apr 2010 07:53:46 +0000 (07:53 +0000)
typo3/sysext/extbase/Classes/MVC/Controller/Argument.php
typo3/sysext/extbase/Classes/Property/Mapper.php

index 4efa608..2c96c4b 100644 (file)
@@ -382,8 +382,6 @@ class Tx_Extbase_MVC_Controller_Argument {
                $object = NULL;
                if (count($result) > 0) {
                        $object = current($result);
-               } else {
-                       throw new Tx_Extbase_Persistence_Exception_UnknownObject('The requested object with the identifier "' . $uid . '" was not found.', 1271856793);
                }
                return $object;
        }
index a2c85bb..3dd40cd 100644 (file)
@@ -319,8 +319,6 @@ class Tx_Extbase_Property_Mapper {
                $object = NULL;
                if (count($result) > 0) {
                        $object = current($result);
-               } else {
-                       throw new Tx_Extbase_Persistence_Exception_UnknownObject('The requested object with the identifier "' . $uid . '" was not found.', 1271856793);
                }
                return $object;
        }