Loading...
 
Skip to main content

New calendar items don't calculate the time codes correctly when altering Start and End time

Status
Closed
Subject
New calendar items don't calculate the time codes correctly when altering Start and End time
Version
14.x
15.x
Category
  • Error
Feature
Calendar
Resolution status
Fixed or Solved
Submitted by
taylordustin
Volunteered to solve
Jonny Bradley
Lastmod by
Bernard Sfez / Tiki Specialist
Rating
(0)
Description

Basically what happens is when you try to create a new calendar item, when altering the Start and End times, there is some sort of bug occurring in how it calculates the time codes in the back end. If the times of the event start in the AM and end in the PM, it causes some sort of issue with the way the timecodes are calculated. As well, it appears to be an issue with the 'predictive' functionality it uses. When you select something like an 8AM Start time, it will automatically try to adjust the End time to something an hour in advance or so. This will cause it to get hung up thinking, and sometimes it automatically changes the year to some distant future date like in the year 2507.

As well, selecting a Start time in the AM, and an End time in the PM such as 9AM-9PM causes the calendar to say "Events cannot end before they start."

To test: simply go to the Test calendar on the Show Instance and try creating a new event. Play with the Hours on the Start and End times by just changing them around several times. This will always result in the calendar lagging out and sometimes an unresponsive page.

I will replicate this in a tiki show instance.

Thanks.

Solution

Couldn't exactly reproduce as discussed in the comments but maybe r57822Question might help?

Importance
6
Easy to solve?
5
Priority
30
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
5809
Created
Monday 08 February, 2016 17:45:57 UTC
by taylordustin
LastModif
Thursday 07 April, 2016 08:40:32 UTC


Show PHP error messages