Details
-
Type:
Bug
-
Status: Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 2.1.6, 2.2.3, 2.3
-
Fix Version/s: None
-
Component/s: Questions
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
-
Pull from Repository:
-
Pull Master Branch:
-
Pull Master Diff URL:
Description
The last step of is_complete_response(array $response) {
is
if ($this->ap->contains_thousands_seaparator($response['answer']))
This was valid in the first version of the 2,1 new engine apply_units($response, $separateunit = null)
with its strict syntax analysis.
However the apply_units() was retrofit to preceeding more error tolerant function() which can handle a , instead of a .
as decimal point.
So answering 10,25 for a 10.25 good answer response will generate a incomplete message although on submit and finish the 10,25 will
grade as 100%.
Attachments
Issue Links
- has a non-specific relationship to
-
MDL-31889 Numerical answers are graded as good independetly of the decsep used
-
- Open
-
- has been marked as being related by
-
MDL-37955 More flexible and explicit handling of numerical subquestions in edit_multianswer_form.php
-
- Development in progress
-
- is duplicated by
-
MDL-44563 Erroneous feedback shown when dot is used as a decimal separator in questions (german language)
-
- Closed
-
- will help resolve
-
MDL-33744 Cloze marks a correct numeric answer as a wrong one while using a comma as a decimal separator
-
- Closed
-