First day of Terms Missing.

Bug #1239468 reported by Patrick Dela Cruz on 2013-10-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SchoolTool
High
Justas Sadzevičius
SchoolTool Journal
High
Justas Sadzevičius

Bug Description

Please see the screenshots.

I checked every Term, all of the first days were missing.

I'm in 2.6.0
Ubuntu 12.04 LTS

Gediminas Paulauskas (menesis) wrote :

Most likely there is a mismatch between the configured and server time zone. What time zone are you in? Go to Server -> Calendar settings, it most likely has the default UTC. Change the time zone. Not sure how that will affect section schedules. We fixed a similar Bug 1233995 for 2.6.0 release, but it requires that a correct time zone is set.

There is a Bug 1030211 asking for time zone to be automatically determined.

The server time zone is set to Pacific/Majuro which is the correct time zone I'm in.
I tried to set it to UTC which made the first days appear but the periods were not in correct order.

Gediminas Paulauskas (menesis) wrote :

I see, that's a place where time zone problems would be most visible :)

Thank you for detailed information, that will help our investigation.

A few more questions:

1) Is the server configured with the same timezone?

$ date --rfc-2822

2) Maybe School timetables have been created before changing server timezone, it is displayed at the top of a Timetable

3) Do you really have the latest journal?

$ LANG=en apt-cache policy python-schooltool.lyceum.journal
python-schooltool.lyceum.journal:
  Installed: 2.6.0-0ubuntu1~raring1

Also, could you please look at school timetable's timezone?

Click School Tab, then Timetables, click your timetable and look at "Timezone:", right above "Periods".

Thanks!

Tom Hoffman (tom-hoffman) wrote :

Timezones! The feature which never stops screwing up your application.

1) Is the server configured with the same timezone?

---> Yes, sir. Same timezone. MHT 2013

2) Maybe School timetables have been created before changing server timezone, it is displayed at the top of a Timetable

---> I'm sure the timetables were created after the server timezone was changed.

3) Do you really have the latest journal?

--->python-schooltool.lyceum.journal: Installed: 2.6.0-0ubuntu1~raring1

I did a test. (See attached screenshot)

I created new timetable with the correct timezone.
I created a new section and made schedules. I did morning and afternoon periods.
Still, there's the problem.
However, I found out the first day of term is not really missing.
Only morning schedules were missing. The afternoon periods were visible.

I hope this helps your investigation.

Changed in schooltool:
assignee: nobody → Justas Sadzevičius (justas-pov)
status: New → Triaged
importance: Undecided → High
Changed in schooltool:
status: Triaged → Confirmed

Thanks for all the details, Patrick. Bug reports like this are the best! :)

Changed in schooltool:
status: Confirmed → Fix Committed
Gediminas Paulauskas (menesis) wrote :

The fix was released as schooltool and schooltool.lyceum.journal 2.6.0.1 to the relevant PPAs, see http://book.schooltool.org/install-2_0.html
Unfortunately it was not accepted into 13.10

Changed in schooltool:
milestone: none → 2.6.1
status: Fix Committed → Fix Released
Changed in schooltool.lyceum.journal:
status: New → Fix Released
importance: Undecided → High
assignee: nobody → Justas Sadzevičius (justas-pov)
milestone: none → 2.6.1

Thank you for all this awesomeness! :)

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

Other bug subscribers