[BUGFIX] Property mapper: Exception not thrown but skipped
authordkd-egerer Sascha Egerer <sascha.egerer@dkd.de>
Fri, 17 Aug 2012 07:11:01 +0000 (09:11 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Fri, 17 Aug 2012 21:19:16 +0000 (23:19 +0200)
commitaf5688ac30a236ff0b6f41e5e3a0ae6dc9891c9a
treec43c6d05e7c63ce617b4f4b988cbd4df31d7984d
parentd423dbb9da1e4a4fd0be3826f22fbc460cedcbf5
[BUGFIX] Property mapper: Exception not thrown but skipped

The transformToObject function in the property mapper
checks for an existing record if an identity is given.
If no record could be found an exception should be thrown.
But the exception will never be thrown due to a wrong
condition. The condition checks for FALSE but NULL is
given.

The Exception does also not exist.

Change-Id: If6ac4d3275718cabab9c94904dad264472630c18
Fixes: #39876
Releases: 1.3, 1.4, 4.7, 6.0
Reviewed-on: http://review.typo3.org/13842
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
typo3/sysext/extbase/Classes/Property/Mapper.php