Project

General

Profile

Actions

Bug #18575

closed

Target was not a directory

Added by Gerhard Obermayr about 16 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2008-04-06
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

bug_8040.diff (527 Bytes) bug_8040.diff Administrator Admin, 2008-04-08 00:17
bug_8040_v2.diff (437 Bytes) bug_8040_v2.diff Administrator Admin, 2008-04-10 13:44
bug_8040_v3.diff (445 Bytes) bug_8040_v3.diff Administrator Admin, 2008-04-13 23:59
bug_8040_v4.diff (449 Bytes) bug_8040_v4.diff Administrator Admin, 2008-04-22 13:07

Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #14859: Deleting directories ending in a dot in fileadmin-module impossibleClosed2005-07-13

Actions
Has duplicate TYPO3 Core - Bug #18578: Faulty folders in fileadminClosedDmitry Dulepov2008-04-07

Actions
Has duplicate TYPO3 Core - Bug #18574: Target was not a directoryClosedOliver Hader2008-04-06

Actions
Actions #1

Updated by Moreno Feltscher about 16 years ago

Same Problem in the latest 4.2 SVN

Actions #2

Updated by Moreno Feltscher about 16 years ago

Patch added.

Actions #3

Updated by Rob Vonk about 16 years ago

Actions #4

Updated by Chris topher about 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.

Actions #5

Updated by Moreno Feltscher about 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.

Actions #6

Updated by Hauke Mehrtens about 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.

Actions #7

Updated by Moreno Feltscher about 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.

Actions #8

Updated by Moreno Feltscher about 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.

Actions #9

Updated by Moreno Feltscher about 16 years ago

The last patch was corrupt so here is the corrected one.

Actions #10

Updated by Moreno Feltscher about 16 years ago

Added patch with spaces after commas.

Actions #11

Updated by Dmitry Dulepov about 16 years ago

rev 3602

Actions #12

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF