[TYPO3-core] FAL: why does ResourceStorage->getRootLevelFolder() return filemouts instead of real root folder?
Franz Koch
typo3.RemoveForMessage at elements-net.de
Sun Oct 5 15:18:29 CEST 2014
> So all I can do is to get an instance of the ResourceStorage by it's uid
> and ask it for the rootfolder. But now, this function is returning some
> mountpoints folder instead of the rootfolder - wtf? So it seems there is
> no sane way using the APIs to convert a combined identifier from a
> moved/renamed resource to the full qualified path. Or am I missing
> something?
LOL, WTF? For renamed files you don't even get the old filename but just
the UID of the resource as $cmdArr['data'], which ofc already is renamed
if you grab it from the Storage. So there is no way ever to get the old
name? You're kidding me. This hook is utterly broken.
--
kind regards,
Franz Koch
More information about the TYPO3-team-core
mailing list