Bug #24613
closedChanging case-sensitivity of file name on Windows doesn't work
0%
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)
Updated by Markus Klein over 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.
Updated by Alexander Opitz about 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?
Updated by Alexander Opitz almost 10 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.
Updated by Alexander Opitz almost 10 years ago
- Status changed from Needs Feedback to Closed