[TYPO3-mvc] update calls replace.

Braulio J. Solano-Rojas braulio at solsoft.biz
Tue Sep 14 15:27:56 CEST 2010


El 14/09/2010 05:25 a.m., Steffen Ritter escribió:
> Am 14.09.2010 03:53, schrieb Braulio J. Solano-Rojas:
>> Hello.
>>
>> I just wanted to notice that if one calls the repository update method
>> on an object that has been created with ->setRespectStoragePage(FALSE)
>> it will never work, since update calls replace and replace will query
>> for the same object and there is no way to indicate that it has to do it
>> with ->setRespectStoragePage(FALSE).
>>
>> The only workaround possible (I think) is using ->statement. :-(
>>
>> Bests,
>>
>> B.
> the workaround is to overwrite the findByUid method in your repository
> and set setRespectStoragePage(FALSE)

Would be in another context, I am using the 	 
Tx_Extbase_Domain_Repository_FrontendUserRepository as is, without 
inheritance.

Regards,

B.


More information about the TYPO3-project-typo3v4mvc mailing list