-
Bug
-
Resolution: Fixed
-
Minor
-
3.11.5, 4.0
-
MOODLE_311_STABLE, MOODLE_400_STABLE
-
MOODLE_311_STABLE
-
While working on a fix to install/upgrade structures @ MDL-71696 , it has been detected that, right now, there are a bunch of differences between the current install.xml and what the XMLDB editor saves.
The differences are not critical (they are mainly whitespace and some attribute out of order).
But we need to reconcile this, so anybody using the editor only sees the real changes and not all those mistmatches.
At the same time, a new job (added to TODO lists) should ensure that the files are reconciled always. That will also help, sometimes, to blame people editing them by hand.
To reproduce:
- Go to admin -> dev -> xmldb editor.
- Edit lib/db (the main one) and add any tiny change, in a comment or whatever.
- Save it.
Expected:
- Only that tiny change should happen if you make a git diff.
Current:
- There are a lot of changes with differences in whitespace or attributes order, completely unrelated with the tiny change performed.
Ciao
- Discovered while testing
-
MDL-71696 Add question versions
-
- Closed
-