[BUGFIX] ProcessedFile is persisted in sys_file as well 37/20437/7
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 14:55:59 +0000 (16:55 +0200)
commitb31881aa05e1cfe97bfd67955bf8b99eaaaef938
tree059c0a96ff0f3a9cab715d4f0c022ee439d4cb52
parentb2c3fd000de98a6ee046b250312176fd91c8a81f
[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/20437
Reviewed-by: Alexander Opitz
Tested-by: Alexander Opitz
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Reviewed-by: Frans Saris
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