[TYPO3-mvc] Non existing object: how to handle the error?
Dmitry Dulepov
dmitry.dulepov at gmail.com
Mon Feb 21 16:35:39 CET 2011
Hi all!
(Disclamer: I am learning)
While playing with blog_example, I changed the URl manually: I set
non-existing blog id. The result is expected: I got the exception from Extbase:
#1251730701: The value must be of type "Tx_BlogExample_Domain_Model_Blog",
but was of type "NULL".
The question is: would it be possible to catch that error and show more
sensible error to the user? I am sure it is possible, but how?
--
Dmitry Dulepov
TYPO3 core&security team member
E-mail: dmitry.dulepov at typo3.org
Web: http://dmitry-dulepov.com/
More information about the TYPO3-project-typo3v4mvc
mailing list