[TYPO3-core] RFC #2661: stdWrap filelist doesn't work directly in fileadmin/

Benjamin Mack benni at typo3.org
Fri Jul 25 16:14:38 CEST 2008


Hey all,

this is a SVN patch request.

Branches: 4.2 and trunk

BT reference: http://bugs.typo3.org/view.php?id=2661

Problem:
If you try to create a filelist for files located directly in fileadmin 
it wont work.

Reason:
- a / is automatically added to TSFE->lockFilePath
and clean_directory() removes the trailing / from the path given to 
filelist.

Therefore the comparison in class.tslib_content.php on line 3290
(function filelist) fails.


Solution:
Make a clean way to check for the lockFilePath.

Notes:
Patch is against trunk, I will however provide a patch for 4.2 before 
commiting.

-- 
greetings,
benni.
-SDG-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20080725_filelist_fileadmindir.patch
Type: text/x-diff
Size: 873 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080725/caa31e85/attachment.patch 


More information about the TYPO3-team-core mailing list