Project

General

Profile

Bug #4685

Error modifying weight of activity in assessment

Added by Hubert Borderiou over 7 years ago. Updated over 7 years ago.

Status:
Bug resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
02/05/2012
Due date:
% Done:

80%

Estimated time:
Complexity:
Normal
SCRUM pts - complexity:
?

Description

Hi,
I've created an assessment.
If I add an activity (classroom activity, test, assignment...) directly in the top level of the assessment tool (not in a subfolder) I cannot modify its weight.
I've got the error :

PHP Warning: Division by zero in /home/chamilo/www/chamilo.classic/main/gradebook/gradebook_edit_link.php on line 39, referer: http://***/main/gradebook/gradebook_edit_link.php?editlink=3&cidReq=COURS0001

It works fine if I want to modify the weight of a folder, or if I want to modify the weight of an activity in a folder.

see attached


Files

2012-05-02_1435.png (57.6 KB) 2012-05-02_1435.png Hubert Borderiou, 02/05/2012 14:46

Associated revisions

Revision 9113ede1 (diff)
Added by Julio Montoya over 7 years ago

Should fix bugs in gradebook due recent see #4685

Revision 59a9e6ec (diff)
Added by Julio Montoya over 7 years ago

EventEmailTemplate functions moved in the events.lib.php see #4685

Revision bc0593d2 (diff)
Added by Julio Montoya over 7 years ago

Removing functions inside events.conf.dist.php files moved in the events.lib.php see #4685

History

#1

Updated by Julio Montoya over 7 years ago

  • Status changed from New to Needs more info
  • Target version set to 1.9 Beta
  • % Done changed from 0 to 80

Should be fixed

#2

Updated by Hubert Borderiou over 7 years ago

  • Status changed from Needs more info to Bug resolved

Tested and approuved.

Also available in: Atom PDF