Project

General

Profile

Bug #555

Bug in exercise time counter

Added by Yannick Warnier over 9 years ago. Updated over 8 years ago.

Status:
Bug resolved
Priority:
Urgent
Assignee:
Category:
-
Target version:
Start date:
27/01/2010
Due date:
% Done:

90%

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

Description

When limiting a test to 60 minutes, I get a counter with 06:59:59 (as admin) when taking the test.
Then I take some time in there, the counter lowers to 06:57:30, and then I change portals and enter another test (on the new portal, different domain name) limited to 60 minutes, and I get the time counter at 06:57:29. Finally, I exit this test and enter it again and my time counter now shows 07:14:50, which has no meaning to me.
I have tried that passing from courses.chamilo.org to campus.chamilo.org


Related issues

Is duplicate of Chamilo LMS - Bug #452: test tool: the time control does not work when the questions are on one pageRejected - Abandoned23/12/2009

Actions

History

#1

Updated by Yannick Warnier over 9 years ago

This one is a really serious one...

#2

Updated by Arthur Portugal over 9 years ago

  • Assignee changed from Julio Montoya to Christian Alberto Fasanando Flores

The problem is in exercise_submit.php, line 247 and around it: the saved expired time should be proper to the course and the exercise ID. For example, save $_SESSION['expired_time']['ABCDE'][4] = $expired_time;

then check in exercise_show whether this is the same course (if isset($_SESSION['expired_time'][api_get_course_id()][$exe_id]){...})

#4

Updated by Christian Alberto Fasanando Flores over 9 years ago

  • Status changed from Assigned to Needs testing
  • Assignee changed from Christian Alberto Fasanando Flores to Carlos Vargas
  • % Done changed from 0 to 90
#5

Updated by Yannick Warnier over 8 years ago

  • Status changed from Needs testing to Bug resolved

Also available in: Atom PDF