-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
3.1
Follow on from MDL-50360 (which was about investigating the problem).
Remove all xxxformatted fields from any external function / export_for_template call. All strings returned should either go through external_format_text or external_format_string with the correct context.
We should standardize/deduplicate the code that is taking the "record" and formatting it for returning from the webservice. The simplest way to do this is to make the "persistent" classes also "templatable" and then call export_for_template on them always.
Any webservice returning rendered html needs to accept the theme as a parameter.
- blocks
-
MDL-52119 CBE: Move the definition of the external structures into the exporter classes
-
- Closed
-
-
MDL-51041 Create a coverage report for a learning plan template
-
- Closed
-
- Discovered while testing
-
MDL-50360 Cleanup the format_text / external_format_text export_for_template tangle
-
- Closed
-
- will help resolve
-
MDL-51941 Unit test failure in test_reorder_template_competencies
-
- Closed
-