[BUGFIX] findByUid should respect query settings of repository 71/21171/5
authorAlexander Schnitzler <alex.schnitzler@typovision.de>
Fri, 31 May 2013 08:51:11 +0000 (10:51 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Thu, 13 Jun 2013 09:52:34 +0000 (11:52 +0200)
commitc4c4b5ee877a503899ab5b446334a5ab8a8c08fe
treefa7bea546140130e23df8067dc5038d804c44df4
parentf5074a57c901da28a28670349ce7d3472093a117
[BUGFIX] findByUid should respect query settings of repository

Prior to 6.1 findByUid built its own query which respected
the settings of its repository. Now findByUid just fetches
the object from the persistence manager which builds its own
query without respecting the query setting of the repository.

This leads to the error that the user isn't able to fetch
hidden records by uid any more. Therefore the
old behaviour of the repository must be used.
An according deprecation hint is added.

Releases: 6.2, 6.1
Resolves: #48571
Change-Id: Ic9a48d5d06f20b2ab8032c39eecb89cd52f898af
Reviewed-on: https://review.typo3.org/21171
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
typo3/sysext/extbase/Classes/Persistence/Repository.php