[TYPO3-english] Different storagePid handling for findAll() and findByUid()?
jan.kornblum at gmx.de
Fri Nov 29 13:00:40 CET 2013
>>> the default behaviour of findByUid is to find by uid and nothing else.
>>> if you don't want that, implement it yourself with checking the pid as
>> Fine, thanks for your reply! Good to know.
>> I've assumed that the storagePid setting would act for a repository in
>> general. So, if a storagePid is set, all repository's methods would
>> respect this. Isn't it a little bit confusing?
> No, because if you ask for a particular object, you know what you do as
> UID is unique, it wouldn't make much sense to filter the "list" (of a
> single element anyway) with the storage.
Thanks, I understand... Continually learning new things ;) Great list
Kind regards, Jan
More information about the TYPO3-english