MantisBT - ATutor
View Issue Details
0003093ATutor- no cat -public2007-07-09 11:552007-07-16 11:44
user2 
user2 
normalminoralways
closedfixed 
 
1.5.5 
SVN
0003093: total weight
total weight, although enforced on the questions.php weight page, doesn't get updated when editing a test's properties.

more restrictions should be added to that page.

a general function for calculating the total weight of a test is needed.
No tags attached.
Issue History
2007-07-09 11:55user2New Issue
2007-07-09 11:55user2Affects version => SVN
2007-07-09 12:21user2Note Added: 0002492
2007-07-09 12:26user2Note Added: 0002493
2007-07-09 12:33user2Note Added: 0002494
2007-07-09 12:33user2Note Deleted: 0002492
2007-07-09 12:40user2Statusnew => resolved
2007-07-09 12:40user2Fixed in Version => 1.5.5
2007-07-09 12:40user2Resolutionopen => fixed
2007-07-09 12:40user2Assigned To => user2
2007-07-16 11:44user2Statusresolved => closed

Notes
(0002493)
user2   
2007-07-09 12:26   
it also doesn't enforce that there are enough optional questions to fill that test. ie. test needs 5 questions, but there are only 3 assigned to that test.
(0002494)
user2   
2007-07-09 12:33   
see get_total_weight($tid, $num_questions) in include/lib/test_result_functions.inc.php