modolabs / Kurogo-Mobile-Web

Kurogo is a PHP framework for delivering high quality, data driven customizable content to a wide range of mobile devices. Its strengths lie in the customizable system that allows you to adapt content from a variety of sources and easily present that to mobile devices from feature phones, to early generation smart phones, to modern devices and tablets
http://kurogo.org
GNU Lesser General Public License v2.1
198 stars 99 forks source link

Changing timezone affects calendar #53

Closed rando128 closed 12 years ago

rando128 commented 12 years ago

If I change the local timezone configuration to GMT+1 for instance (from the web admin), and try to reach the provided Google iCap Event Calendar (or simply go to calendar/day?type=static&calendar=events), then apache starts eating 100% of the CPU and the browser ends with a Fatal error.

The bad side effect of this issue is that people can't use their iPad with the default Universitas setup in case they change the timezone as the calendar panel will face this problem.

To reproduce the problem:

akinspe commented 12 years ago

Please apply this patch, or checkout branch "issue-53". This updates our handling of events that are of different timezone to the system timezone. There was a flaw in this that caused an infinite (or at least very lengthy) loop in the code for handling recurring events.

akinspe commented 12 years ago

This is addressed in 1.5