[TYPO3-mvc] r2245 introduced a breaking change

Jochen Rau jochen.rau at typoplanet.de
Thu Apr 29 09:54:02 CEST 2010


Hi Marc.

On 28.04.10 21:56, Marc Bastian Heinrichs wrote:
> in revision 2245 you introduced a breaking change in
> Tx_Extbase_Property_Mapper::findObjectByUid and
> perhaps also in Tx_Extbase_MVC_Controller_Argument::findObjectByUid
>
> By throwing an exeption now, there is no chance to set an property,
> which is related to another class, to NULL by sending an request object
> argument value 0.
>
> For example in your extension sjr_offers the exception would be thrown
> when selecting "Alle Organisationen", because this should set
> Tx_SjrOffers_Domain_Model_Demand::organization to NULL by sending
> [demand][organization] = 0.
>
> Here is the exception backtrace
> http://cxg.de/_94c29e.htm

Thanks for pointing this out. You are right. I have reverted the change now.

We have to find a better way to improve the exception messages.

Regards
Jochen


More information about the TYPO3-project-typo3v4mvc mailing list