[BUGFIX] StorageRepository must respect 'deleted' flag 19/17919/2
authorSebastian Michaelsen <michaelsen@t3seo.de>
Fri, 18 Jan 2013 10:44:47 +0000 (11:44 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 1 Feb 2013 14:03:43 +0000 (15:03 +0100)
commitcf9ad375a8a0c08c3d4ff6accb4602ef14615cda
treeffa42dd1c0a1336aed19d251a6706a1ea48ed4f8
parentdc1c32715077cb9eb0f31569f0e4ca49a03c252f
[BUGFIX] StorageRepository must respect 'deleted' flag

The FAL's Storage Repository find* methods also load
deleted file storages at the moment.

Reproduce:
* Create some "File Storage" records on the root page and
delete some of them
* Open the File module, it will showdeleted File Storages

Resolves: #44630
Releases: 6.1, 6.0
Change-Id: I5c60f16261508978ddbe47aa26b52be5b05a82bc
Reviewed-on: https://review.typo3.org/17919
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/core/Classes/Resource/StorageRepository.php
typo3/sysext/core/Tests/Unit/Resource/StorageRepositoryTest.php [new file with mode: 0644]