You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This means that in languages that do not use . as the decimal separator, and when the width and height of an image are non-integer, the rendered value will break later JSON parsing, as JSON expects . separated numbers.
Expected behavior
Should always output valid JSON regardless of the currently active translation language.
User-facing consequences
Users publishing their channels when the interface is set to Spanish or French could suffer unpredictable breakages in Kolibri.
The text was updated successfully, but these errors were encountered:
Observed behavior
The templates for rendering the Perseus JSON for assessment items do not escape or jsonify the designated width or height of images, e.g.
studio/contentcuration/contentcuration/templates/perseus/multiple_selection.json
Line 6 in 584aabd
This means that in languages that do not use
.
as the decimal separator, and when the width and height of an image are non-integer, the rendered value will break later JSON parsing, as JSON expects.
separated numbers.Expected behavior
Should always output valid JSON regardless of the currently active translation language.
User-facing consequences
Users publishing their channels when the interface is set to Spanish or French could suffer unpredictable breakages in Kolibri.
The text was updated successfully, but these errors were encountered: