Moodle

Quiz doesn't work after submit all and finish button is selected - get a "No quiz with id=0" or "No attempt with id=0" error message

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Won't Fix
  • Affects Version/s: 1.8.3
  • Fix Version/s: None
  • Component/s: Quiz
  • Labels:
    None
  • Environment:
    Moodle 1.8.3 running with PHP5 and MySQL5 on a Linux server
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_18_STABLE

Description

When students complete the quiz and select "Submit all and Finish" various error messages appear inside a pink box. These include:
"No quiz with id = 0"
"No attempt with id=0"
"No questions in quiz"

Also sometimes the score doesn't appear but there is no error message and if you go back to restart the quiz you are given the option to continue the last attempt. When this is selected all of the answers given in the attempt that didn't work properly are still there (but greyed out and unchangable) and if you then select the submit all and finish button again it works out your score fine without recording it as a second attempt.

Activity

Hide
Tim Hunt added a comment -

See http://moodle.org/mod/forum/discuss.php?d=82022 for discussion related to this issue.

Show
Tim Hunt added a comment - See http://moodle.org/mod/forum/discuss.php?d=82022 for discussion related to this issue.
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
Michael de Raadt added a comment -

I'm closing this issue as it appears to have become inactive and is probably not relevant to a current supported version. If you are encountering this problem or one similar, please launch a new issue.

Show
Michael de Raadt added a comment - I'm closing this issue as it appears to have become inactive and is probably not relevant to a current supported version. If you are encountering this problem or one similar, please launch a new issue.

People

Vote (2)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: