Calendar portlet all day, time sensitive, repeating events are displayed one day after schedule date

Description

Create an all day, time sensitive repeating event for Friday. The event will show up in the week and month view for Saturday.

Activity

Show:

Luyang Tan March 2, 2012 at 12:53 AM

PASSED Manual Testing using the following steps:

1. Start liferay, go to control panel, click my account.
2. Change the users time zone to (UTC-05:00) Eastern Standard Time.
3. Back to liferay, add a calendar portlet. Following Angeol's test cases.
The first set of tests, test TZSRecurrence with a complete timezone component and a timezone that does not have a daylight savings time component.
The second set of tests, test an event that has a start date in January, repeats on the first Sunday of every month, and the 2nd day of every month.
The third set of tests, test an even that has a start date in July and repeats on the first Sunday of every month, and the 6th day of every month.

Reproduced on:
Tomcat 7.0 + MySQL 5. 6.0.11 EE.

If I test with a timezone that does not have a daylight savings time component, there is no error, everything works fine, if I test
with a complete timezone component (Eastern Standard Time), when I have a start date in January (outside of DST), it also works fine,
if I repeats on the first Sunday of every month, I will see each sunday is marked. While if I have a start date in July (within DST),
when I repeat on the first Sunday of every month, I will see each monday is marked, if I repeat the 6th day of every month, I will see
the 7th day is marked, they are displayed one day after schedule date.

Fixed on:
Tomcat 7.0 + MySQL 5. 6.0.x GIT ID: 03ff7cc646ee5ac7be3628509b94ac27acee91c1.
Tomcat 7.0 + MySQL 5. 6.1.x GIT ID: 022ab7a0ba93a04eccc58246985dce4db1ffc45a.
Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: b0bdd113ad31cc421771b35ecb810e6e5b763fde.

I test TZSRecurrence with a complete timezone component and a timezone that does not have a daylight savings time component, they all work fine.
The date is correct.

Michael Saechang February 29, 2012 at 3:48 PM

Committed on:
6.0.x GIT ID: d3dc82712f0da293aa7255bd404d60414d34cdea.
6.1.x GIT ID: 8b7451c195d932163a2440f50fc1704f2ee7274d.
6.2.x GIT ID: 8b7451c195d932163a2440f50fc1704f2ee7274d.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Branch Version/s

6.1.x
6.0.x

Backported to Branch

Committed

Git Pull Request

Components

Priority

Zendesk Support

Created July 11, 2011 at 5:17 PM
Updated June 24, 2023 at 9:46 AM
Resolved December 20, 2011 at 11:44 AM