-
- Downloads
Fix issues with questions that have no PRTs and/or no inputs.
A STACK question with no inputs now behaves exactly like a Moodle 'Description' question. A STACK question with inputs but no PRTs behaves like a Moodle Essay question. If it is graded out of 0, then it has no effect on the score at all. If it has a non-zero max mark, then it can be manually graded, and the quiz total score is not computed until it has been. Note that the manual graded case really ought to use a special maualgradedwithexplicitvalidation behaviour, but life is too short, and everyone should be using instant validation anyway.
Showing
- doc/en/Developer/Development_track.md 1 addition, 0 deletionsdoc/en/Developer/Development_track.md
- edit_stack_form.php 10 additions, 1 deletionedit_stack_form.php
- lang/en/qtype_stack.php 2 additions, 0 deletionslang/en/qtype_stack.php
- question.php 21 additions, 2 deletionsquestion.php
- questiontype.php 10 additions, 3 deletionsquestiontype.php
- renderer.php 1 addition, 3 deletionsrenderer.php
- tests/helper.php 43 additions, 3 deletionstests/helper.php
- tests/walkthrough_survey_test.php 179 additions, 0 deletionstests/walkthrough_survey_test.php
Loading
Please register or sign in to comment