Project

General

Profile

Bug #5301

Start time for exercises is not saved correctly

Added by Yannick Warnier almost 7 years ago. Updated almost 7 years ago.

Status:
Bug resolved
Priority:
Urgent
Category:
-
Target version:
Start date:
12/08/2012
Due date:
14/08/2012
% Done:

50%

Estimated time:
0.50 h
Spent time:
Complexity:
Easy
SCRUM pts - complexity:
5

Description

http://chamilodev.beeznest.com/main/exercice/exercise_admin.php?cidReq=GESTION&id_session=0&gidReq=0&modifyExercise=yes&exerciseId=2

Modify the time at which the exam should be made available.

Problem 1: the start_time field in the database doesn't seem to change
Problem 2: for some reason, the time in the exercise form seems to have changed, but it suffers the typical timezone bug: when portal & personal timezone is set to America/Lima, when you save a start time of 14:00 and you come back to edit, the time appears as 19:00.

Expected behaviour:
  • the start_time field should be filled in the database
  • the start time information when re-editing should show the time in my timezone (if I save it as 14:00, it should appear as 14:00).

Please also fix in UTP as they will probably report it very shortly anyway.

Associated revisions

Revision 2b5e5bbe (diff)
Added by Julio Montoya almost 7 years ago

Should fix bug when editing the start time in exercises see #5301

Revision b4291b46 (diff)
Added by Julio Montoya almost 7 years ago

Fixes wrong start/end time in exercises see #5301

Revision 29215663 (diff)
Added by Julio Montoya almost 7 years ago

Fixes wrong start/end time in exercises see #5301 (bis)

History

#1

Updated by Julio Montoya almost 7 years ago

  • Status changed from Assigned to Needs testing
  • Assignee changed from Julio Montoya to Yoselyn Castillo
  • % Done changed from 0 to 50

I sent a fix

#2

Updated by Julio Montoya almost 7 years ago

I also updated chamilodev with the latest code, it seems that the auto update (with hg) doesn't work due the recent changes in the repo (branches)

#3

Updated by Julio Montoya almost 7 years ago

fix also sent to the utp server

#4

Updated by Yoselyn Castillo almost 7 years ago

  • Status changed from Needs testing to Bug resolved

It works Fine. I have modified many times the start time of different excercises and it shows my time correctly
An example for testing...
http://chamilodev.beeznest.com/main/exercice/exercise_admin.php?cidReq=GESTION&id_session=0&gidReq=0&modifyExercise=yes&exerciseId=7

Also available in: Atom PDF