[TYPO3-core] RFC #14845: Bug: Filelist module reports "type" of files also for directories

Andy Grunwald [wmdb] andreas.grunwald at wmdb.de
Fri Jun 25 09:53:38 CEST 2010


This is an SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=14845

Branches:
TYPO3_4-3, TYPO3_4-4 & trunk

Problem:
If a directory is called "mydir.com"
the type column shows COM as its file type!

it should show nothing

Solution:
Add a check if the incomming file is really a file

Notes:
I`ve created a unit test to avoid this bug, too.
The original patch is from "Caspar Stuebs".
I`ve modified this to match coding guidelines.

Best regards,
Andy
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bug_14845.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100625/3aeee386/attachment.txt>


More information about the TYPO3-team-core mailing list