[TYPO3-core] FAL: How should legacy-storage be correctly updated?

Stefan Neufeind typo3.neufeind at speedpartner.de
Fri Feb 15 03:33:54 CET 2013


On 02/15/2013 01:39 AM, Stefan Neufeind wrote:

[...]

Short follow-up to one alternative mentioned in this thread:

> 3) Use legacy-storage as few as possible?
> When trying to load a file from legacy-storage, might it be an option to
> search for the "best matching" local driver first (longest match on
> path)? In this case here it could have been detected the file used was
> under fileadmin/ and we could have used that storage (ID 1) instead of
> using our legacy-storage.

There is an issue on forge now for this and a first patch was sent to
gerrit. Solves at least the problem at hand I experienced since with
that patch the auto-created fileadmin-storage would be used (ID 1)
instead of the default-storage (ID 0) which has outdated information in
sys_file.

http://forge.typo3.org/issues/45498


Regards,
 Stefan


More information about the TYPO3-team-core mailing list