Bug #18575
closedTarget was not a directory
0%
Description
1.) TYPO3 v4.0.1 - v4.1.6
2.) Click fileadmin in the main menu
3.) Create a folder with a name with a dot on the end - eg "06.04."
4.) T3 creates this folder !!!
5.) Klick on this folder brings not content on the right side in BE !
6.) Doe upload files into this folder. You become the message "Target was not a directory"
7.) You canĀ“t delete, move or rename this folder
(issue imported from #M8040)
Files
Updated by Moreno Feltscher over 16 years ago
Same Problem in the latest 4.2 SVN
Updated by Rob Vonk over 16 years ago
Same bug as this one?
Updated by Chris topher over 16 years ago
The last dot in a folder-name as 6.4. is removed, so the patch works..
In TYPO3 4.1 the lines are you wrote in your patch are not completely correct, I don't know whether this could be a problem...
@ Rob: Yes, it is the same.
Updated by Moreno Feltscher over 16 years ago
If it works for you it would be nice if you could give a +1 to this in the core-list otherwise it wouldn't be fixed in the next release.
Updated by Hauke Mehrtens over 16 years ago
Why don't you correct this problem in the cleanFileName method in class.t3lib_basicfilefunc.php ? This problem could affect more methods in the code.
Updated by Moreno Feltscher over 16 years ago
Because this function is also used for cleaning filenames which have to have dots in it. I also thought about it but I think that's the best way to solve this.
Updated by Moreno Feltscher over 16 years ago
OK Hauke, you were right. I now attached a new patch which solves this in the cleanFileName function. So now also files are going to be without an ending dot.
Updated by Moreno Feltscher over 16 years ago
The last patch was corrupt so here is the corrected one.
Updated by Moreno Feltscher over 16 years ago
Added patch with spaces after commas.