Moodle

Sum of points cannot exceed 100% in a question

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.8.4, 1.9.6, 2.2
  • Fix Version/s: STABLE backlog
  • Component/s: Questions
  • Labels:
  • Environment:
    Httpd 2.0 - Apache 2 - Linux - Postgres 8 - PHP 5.1.4
  • Database:
    PostgreSQL
  • Affected Branches:
    MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_22_STABLE

Description

In previous versions (1.7), when creating a question, if you had a sum of points superior to 100% Moodle would warn you but you still had the opportunity to accept the fact and keep things as they are or go back and fix the total of points. With the 1.8 version, moodle warns you but does not accept to save the question as is. In the same time, if you have an old question where the sum of points is superior to 100% Moodle will accept it as long as you dont modify the question and try to save it again.

We use this possibilty very often and it is a great loss of if we cannot use it anymore. Some questions will look like this :
Answer A = 50 %
Answer B = 50 %
Answer C = 25 %
Answer D = 10 %
Answer E = -50 %
Answer F = - 100%
And we would ask the student to give 2 answers only. In the new version (1.8), it is now impossible to do this as Moodle does not allow you to save such a question because, in this case, the maximum sum of points is equal to 135%.

  1. edit_multichoice_form.php
    04/Apr/09 3:47 AM
    6 kB
    Dmitry Laptev
  2. edit_shortanswer_form.php
    04/Apr/09 3:47 AM
    3 kB
    Dmitry Laptev
  1. screenshot-1.jpg
    171 kB
    25/Feb/08 8:00 PM

Activity

Hide
Nagi Ghorra added a comment - - edited

Comments to the screenshot :

We use the french version of Moodle 1.8. In red it says "The sum of the positive notes that you have indicated dose'nt match 100%. The sum is 190%."

Show
Nagi Ghorra added a comment - - edited Comments to the screenshot : We use the french version of Moodle 1.8. In red it says "The sum of the positive notes that you have indicated dose'nt match 100%. The sum is 190%."
Hide
Dmitry Laptev added a comment -

Hi!
Sorry if something is wrong, I'm new to Moodle tracker.
I don't really think it's a bug, Moodle developers just wanted quiz to be more secure and usable.
But if you want to use an old version for multiple choise question, replace file /moodle/question/type/multichoice/edit_multichoice_form.php with one attached here.
If you want to have it for other types of questions, I can give other files (for short answer question) replace /moodle/question/type/shortanswer/edit_shortanswer_form.php with second attached file.

Show
Dmitry Laptev added a comment - Hi! Sorry if something is wrong, I'm new to Moodle tracker. I don't really think it's a bug, Moodle developers just wanted quiz to be more secure and usable. But if you want to use an old version for multiple choise question, replace file /moodle/question/type/multichoice/edit_multichoice_form.php with one attached here. If you want to have it for other types of questions, I can give other files (for short answer question) replace /moodle/question/type/shortanswer/edit_shortanswer_form.php with second attached file.
Hide
Anthony Borrow added a comment -

adding 1.9 as affected per discussion at OrlandoMoot

Show
Anthony Borrow added a comment - adding 1.9 as affected per discussion at OrlandoMoot
Hide
Michael de Raadt added a comment -

Thanks for reporting this issue.

We have detected that this issue has been inactive for over a year has been recorded as affecting versions that are no longer supported.

If you believe that this issue is still relevant to current versions (2.1 and beyond), please comment on the issue. Issues left inactive for a further month will be closed.

Michael d;

lqjjLKA0p6

Show
Michael de Raadt added a comment - Thanks for reporting this issue. We have detected that this issue has been inactive for over a year has been recorded as affecting versions that are no longer supported. If you believe that this issue is still relevant to current versions (2.1 and beyond), please comment on the issue. Issues left inactive for a further month will be closed. Michael d; lqjjLKA0p6
Hide
Tim Hunt added a comment -

This is still an issue.

Show
Tim Hunt added a comment - This is still an issue.

People

Vote (7)
Watch (4)

Dates

  • Created:
    Updated: