[TASK] Show expected targetType on "Object not found" errors 41/40141/3
authorMathias Brodala <mbrodala@pagemachine.de>
Wed, 10 Jun 2015 07:06:11 +0000 (09:06 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Thu, 18 Jun 2015 19:30:02 +0000 (21:30 +0200)
commitf8fa92f7717993c823ac4784e94840bff6e17d29
tree5682f7186e09a97023f793ed1b2f3dce0c0dbb95
parentc584bc14c3e815ceba386b890943f64a197003c1
[TASK] Show expected targetType on "Object not found" errors

If the ``PersistentObjectConverter`` cannot find an object by
given identity the error message shows the identity but not the
expected object type. Adding it helps a lot in debugging such errors.

Resolves: #67382
Releases: master
Change-Id: Ib13e1e7927b2b56cb6c23555608703dfcda060b9
Reviewed-on: http://review.typo3.org/40141
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/extbase/Classes/Property/TypeConverter/PersistentObjectConverter.php