While testing parts of MDL-39507, I got some errors. This bug is to investigate them.
For a shared databset we output:
<dataset_definition> |
<status><text>shared</text> |
</status> |
<name><text>p</text> |
</name> |
<type>calculated</type> |
<distribution><text>uniform</text> |
</distribution> |
<minimum><text>1.0</text> |
</minimum> |
<maximum><text>10.0</text> |
</maximum> |
<decimals><text>1</text> |
</decimals> |
<itemcount>0</itemcount> |
</dataset_definition> |
But the import code in import_calculated in question/format/xml/format.php assumes <number_of_items> and <dataset_items> tags are present.
- Testing discovered
-
MDL-39507 Question definition html_to_text incorrectly call format_text on text with urls not rewritten
-
- Closed
-