This is a snapshot of Indico's old Trac site. Any information contained herein is most probably outdated. Access our new GitHub site here.

Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#316 closed defect (fixed)

Adding slot changes session times

Reported by: dmartinc Owned by: lsyroka
Priority: critical Milestone: v0.97.0
Component: Timetable Version: 0.97.0
Keywords: timetable Cc:

Description

When adding an interval to a session from the session timetable, it seems that the starting and ending times of the session (those that appear in its "Main" tab) are set to the times of the new slot.

Change History (5)

comment:1 Changed 6 years ago by dmartinc

Possibly related:

-After adding a second interval, while the session start and end times in the main tab are incorrect, moving the first interval triggers automatic changes (that should not happen, and the message incorrectly describes the result).
Then, the session's start and ending time are again set to the new times of the slot that we just moved.

comment:2 Changed 6 years ago by dmartinc

Correction to the initial descripcion: it seems that the starting time is copied from the newer slot, but the precedent duration is kept.

comment:3 Changed 6 years ago by lsyroka

  • Owner set to lsyroka
  • Status changed from new to accepted

comment:4 Changed 6 years ago by leszek.marek.syroka@…

  • Resolution set to fixed
  • Status changed from accepted to closed

commit 25838c3690ab93a73cf3a1a4d122baff9e9b7533
Author: Leszek Syroka <leszek.marek.syroka@…>
Date: Mon Mar 22 12:05:19 2010 +0100

[FIX] Fit inner timetable


  • 'Fit inner timetable' button did't resize the first session slot to the length of the whole session;
  • when adding, removing or resizing slot belonging to a session, the session times are changed properly (method fit() is executed at the end of those operations);
  • deprecated method _enableSessionSlots now always returns True;
  • parts of code using deprecated variables/methods were commented out;
  • fixes #316

comment:5 Changed 5 years ago by Leszek Syroka <leszek.marek.syroka@…>

In [25838c3690ab93a73cf3a1a4d122baff9e9b7533]:

[FIX] Fit inner timetable

  • 'Fit inner timetable' button did't resize the first session slot to the length of the whole session;
  • when adding, removing or resizing slot belonging to a session, the session times are changed properly (method fit() is executed at the end of those operations);
  • deprecated method _enableSessionSlots now always returns True;
  • parts of code using deprecated variables/methods were commented out;
  • fixes #316
Note: See TracTickets for help on using tickets.