Bug #15212
closedEM appends trailing spaces when updating ext_emconf.php
0%
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
Updated by Sebastian Kurfuerst about 19 years ago
Hi,
would it be possible for you to locate that issue in the source and write a patch for it? Would be great!
Greets, Sebastian