Moodle

error in grade/exceptions.php

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Duplicate
  • Affects Version/s: 1.8
  • Fix Version/s: None
  • Component/s: Gradebook
  • Labels:
    None
  • Environment:
    Unix php4.4.7 mysql 5.0.18
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_18_STABLE

Description

when I try to add an item to a person as an exception in the the gradebook, that this resource should not be counted, in grade/exceptions.php always the first item in the form2 is selected and added as exception with the person to the form3 and also to the database. It's not possible to select another item.

Issue Links

Activity

Hide
Skip Marshall added a comment -

We have been experiencing this problem as well. We are unable to exclude students from specific assignments. We're running 1.8.2+ on Win2003, IIS 6, PHP5 and mySQL 4.28

Show
Skip Marshall added a comment - We have been experiencing this problem as well. We are unable to exclude students from specific assignments. We're running 1.8.2+ on Win2003, IIS 6, PHP5 and mySQL 4.28
Hide
Jonathan Seal added a comment -

I too have experienced this problem. I'm unable to exclude students from specific assignments except the first. Also running 1.8.1, PHP 5.1.6, and MySQL 5.0.37

Show
Jonathan Seal added a comment - I too have experienced this problem. I'm unable to exclude students from specific assignments except the first. Also running 1.8.1, PHP 5.1.6, and MySQL 5.0.37
Hide
David Mudrak added a comment -

1 for fixing this. I am having the same issue at 1.8.2 / MySQL 5.0.45 / PHP 5.2.4

Show
David Mudrak added a comment - 1 for fixing this. I am having the same issue at 1.8.2 / MySQL 5.0.45 / PHP 5.2.4
Hide
Doug Vermes added a comment -

I suggest upgrading to 1.8.3. When my Moodle host did a CVS upgrade to the latest build of the 1.8.3. code, the problem with grade exceptions was fixed.

Show
Doug Vermes added a comment - I suggest upgrading to 1.8.3. When my Moodle host did a CVS upgrade to the latest build of the 1.8.3. code, the problem with grade exceptions was fixed.
Hide
David Mudrak added a comment -

I can confirm - an upgrade to 1.8.3+ solved the issue to me. However...

I was trying to identify a problematic block of code in CVS log but I can not see it. It appears to me the problem was not in exceptions.php itself as the file was recently changed only on 23/11 (version included in 1.8.3+) and on 05/06 (included in 1.8.3, 1.8.2, 1.8.1). That is, there was no change between non-working 1.8.2 (revision 1.11.6.3) and 1.8.3 version from 21/11 (same revision) - the date of Doug's comment.

Show
David Mudrak added a comment - I can confirm - an upgrade to 1.8.3+ solved the issue to me. However... I was trying to identify a problematic block of code in CVS log but I can not see it. It appears to me the problem was not in exceptions.php itself as the file was recently changed only on 23/11 (version included in 1.8.3+) and on 05/06 (included in 1.8.3, 1.8.2, 1.8.1). That is, there was no change between non-working 1.8.2 (revision 1.11.6.3) and 1.8.3 version from 21/11 (same revision) - the date of Doug's comment.
Hide
Wen Hao Chuang added a comment -

Does anyone know which specific commit (or ticket) fixed this issue in 1.8.3? I think the fix should be exceptions.html (see CONTRIB-71)

Show
Wen Hao Chuang added a comment - Does anyone know which specific commit (or ticket) fixed this issue in 1.8.3? I think the fix should be exceptions.html (see CONTRIB-71)
Hide
David Mudrak added a comment -

Yes, I think so. IMHO this has been fixed by toyomoyo in grade/exceptions.html @ rev. 1.8.2.1, committed on 14/09.

Show
David Mudrak added a comment - Yes, I think so. IMHO this has been fixed by toyomoyo in grade/exceptions.html @ rev. 1.8.2.1, committed on 14/09.

Dates

  • Created:
    Updated:
    Resolved: