[+BUGFIX] Extbase (Reflection): Fixed a bug that would occur if an array with a non...
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Classes / Property / Mapper.php
index 2a01257..5a31bc5 100644 (file)
@@ -253,7 +253,7 @@ class Tx_Extbase_Property_Mapper {
                                try {
                                        $propertyValue = new $targetType($propertyValue);
                                } catch (Exception $e) {
-                                       throw new InvalidArgumentException('Conversion to a ' . $targetType . ' object is not possible. Cause: ' . $e->getMessage(), 1190034628);
+                                       $propertyValue = NULL;
                                }
                        }
                } else {