Issue Bug Closed

#15212EM appends trailing spaces when updating ext_emconf.php

Oliver Klee 11/17/05, 16:06 updated 08/12/06, 14:22

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.