Project

General

Profile

Actions

Bug #15212

closed

EM appends trailing spaces when updating ext_emconf.php

Added by Oliver Klee about 19 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2005-11-17
Due date:
% Done:

0%

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

Description

Steps to reproduce:
1. Have an extension with one or two modified files.
2. In the EM, select that extension.
3. Go to Backup/Delete.
4. Re-write ext_emconf.php.
5. Open ext_emconf.php in an editor.

Expected results:
The file has been rewritten. In the comment part at the top, empty lines consist merely of one hash mark #.

Actual results:
The file has been rewritten. In the comment part at the top, empty lines consist of one hash mark # and a trailing space.

This is inconvenient because, while developing the "seminars" extension, we routinely check for trailing tabs and spaces. As there are always trailing spaces in ext_emconf.php and the EM always re-writes that trailing spaces, we don't delete those, though. When searching for trailing spaces/tabs, thus we always get one additional search result.
(issue imported from #M1889)


Files

tools_em_index.php.diff (1.5 KB) tools_em_index.php.diff Administrator Admin, 2005-11-19 13:06
Actions

Also available in: Atom PDF