[BUGFIX] ProcessedFile is persisted in sys_file as well 73/20873/2
authorFabien Udriot <fabien.udriot@ecodev.ch>
Thu, 2 May 2013 17:50:28 +0000 (19:50 +0200)
committerPhilipp Gampe <philipp.gampe@typo3.org>
Fri, 17 May 2013 15:00:59 +0000 (17:00 +0200)
commitf94f4eb1dc800a320902a31d897aa69904d7c6b9
tree43fdeb7cf56e94453a6b4a86a225658fd8b129cd
parent282a59aa86d78d84b87a0f35cd2542acaaecdc01
[BUGFIX] ProcessedFile is persisted in sys_file as well

The problem appears more generally as soon as @getProperties@ is
called from a file object. FAL will try, by all means, indexing the file
(storing the file into sys_file, in other word)

The change set adds a method telling a File not be indexed by the API.
This is particularly useful if you want to create objects but don't want
them to be persisted.

Change-Id: I8cf0c0f6389dc13e8c3855452f1d2519544b69b9
Fixes: #47211
Fixes: #47782
Releases: 6.0, 6.1, 6.2
Reviewed-on: https://review.typo3.org/20873
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
typo3/sysext/core/Classes/Resource/File.php
typo3/sysext/core/Classes/Resource/ProcessedFile.php
typo3/sysext/core/Tests/Unit/Resource/FileTest.php