Project

General

Profile

Actions

Bug #24613

closed

Changing case-sensitivity of file name on Windows doesn't work

Added by Lorenz Ulrich over 13 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-01-17
Due date:
% Done:

0%

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

Description

Windows has limited case-sensitivity capability. It is aware of it, but there can't be two files with the same name but with different case-sensitivity, i.e.

typo3.pdf
Typo3.pdf

In TYPO3, renaming a file from typo3.pdf to Typo3.pdf fails with error "Destination [filename] already existed!". I tested the PHP rename function, it works correct, so there must be a TYPO3 check that doesn't work.

Now the bug is filed and I hope to have time to do the debug work...

(issue imported from #M17083)

Actions #1

Updated by Markus Klein about 13 years ago

Contrary to issue 17770 things are quite clear here.

if (!file_exists($theRenameName)) {
// .......
} else {
$this->writelog(5, 1, 120, 'Destination "%s" existed already!', Array($theRenameName));

This check obviously returns true as Windows is not case-sensitive and leads to the described error message.

Actions #2

Updated by Alexander Opitz almost 10 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (0)
  • TYPO3 Version set to 4.4
  • Is Regression set to No

I don't think this will get fixed with newer TYPO3.

With FAL on a case insensitive system, we save all files in lower case. So can this issue closed?

Actions #3

Updated by Alexander Opitz over 9 years ago

No feedback within the last 90 days => closing this issue.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Actions #4

Updated by Alexander Opitz over 9 years ago

  • Status changed from Needs Feedback to Closed
Actions

Also available in: Atom PDF