Treat consecutive periods as one meeting only works for two periods

Bug #1378990 reported by Dimitris
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
SchoolTool
Triaged
High
Douglas Cerna

Bug Description

The "Treat consecutive periods as one meeting" check box at schedule a section is not functioning properly. It can treat only 2 consecutive periods as one meeting. If the number of periods is above two it looses functionality.

It also doesn't have any effect on the calendar. The calendar is showing all the scheduled periods for that day and not one meeting as it should.

Revision history for this message
Dimitris (dimitris-savoulidis) wrote :
Revision history for this message
Dimitris (dimitris-savoulidis) wrote :
Revision history for this message
Dimitris (dimitris-savoulidis) wrote :
Revision history for this message
Tom Hoffman (tom-hoffman) wrote :

I don't think the calendar part of issue is a bug, or at least not one worth the cost of fixing (considering the complexity of that part of the code), but yes, this should handle more than two consecutive periods.

summary: - Treat consecutive periods as one meeting not working in section schedule
+ Treat consecutive periods as one meeting only works for two periods
Changed in schooltool:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Douglas Cerna (replaceafill)
Revision history for this message
nedosa (nedosa) wrote :

Thanks @tom-hoffman.

Can you provide any guidance as to where in the code the fix lies ? If I understand correctly, the non-calendar part of the issue is handled at timetable/timetable.py:iterMeetings, am I correct ?

Any idea where the calendar part of the issue is handled ?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.