-
Bug
-
Resolution: Fixed
-
Major
-
2.3.2, 2.4, 2.5.1
-
MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
-
MOODLE_24_STABLE, MOODLE_25_STABLE
-
git@github.com:StudiUM/moodle.git
-
MDL-36093-master -
When exporting grades, the string 'labelsep' (defined in 'langconfig') is used for columns labelling, which leads to weird columns labels, depending on the value of the string in the lang pack.
E.g. in french, 'labelsep' is defined with a non-breaking space followed by a column. This results in following column label in CSV grades export file: "Devoir Nom du devoir" (entity is printed litteraly, not interpreted).
Possible solutions:
- Remove 'labelsep' from functions exporting files and educate developers not to re-introduce it (workaround), or
- Define a new string 'labelsepfile' (or whatever) to be used in exporting functions (another workaround), or
- Find a way so that 'labelsep' non ASCII chars are correctly output in the export files (better).
AFAIK, the only occurence of this problem as of today is in file grade/export/lib.php, in the function 'format_column_name', line 183.