Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-58874

The day of week selected to recurrence can be wrong if the user uses a time zone different from calendar's

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.2.X EE, 7.0.0 Alpha 1
    • Fix Version/s: 6.2.X EE, 7.0.0 Alpha 1
    • Component/s: Calendar
    • Labels:
      None

      Description

      Weekly recurring events editable by users in different time zones are not displaying correctly the days of week when they repeat if created in specific hours.

      Steps to reproduce

      Setup

      1. Set up the time zone of a Liferay instance to UTC.
      2. Start up the Liferay server.
      3. Create an user as described below:
        • it is named UTC;
        • it has a password;
        • its display time zone (in Display Settings) is UTC;
        • it is a member of the "Liferay" site (the default site created when the portal starts); and
        • it has the "Site Admin" role on "Liferay" site.
      4. Create another user as described below
        • it is named IST (from "India Standard Time");
        • it has a password;
        • its display time zone (in Display Settings) is India Standard Time;
        • it is a member of the "Liferay" site (the default site created when the portal starts); and
        • it has the "Site Admin" role on "Liferay" site.
      5. Add the calendar to a page of the site "Liferay."

      Test

      1. Log in as the "IST" user
      2. Click on the scheduler to create an event starting at 1 PM, at some day (for example, it could be August 11, 2015).
      3. Select "Liferay" from the list.
      4. In the popup, click in "Edit."
      5. In the new form, check the "Repeat" dialog.
      6. Configure the event to repeat weekly in a day of week following the start date (e.g. Wednesday).
      7. Click in "Done."
      8. Click in "Save" at the bottom of the form. Close the dialog.
      9. Observe the scheduler.
      10. Click in the event. Click in "Edit."
      11. Check the recurrence summary.
      12. Log in as the "UTC" user.
      13. Observe the scheduler.
      14. Click in the event.
      15. Click in "Edit."
      16. Check the recurrence summary.

      Expected results

      • In step 9 of the test, the event would repeat at Wednesday.
      • In step 11, the summary would say the event repeats at Wednesdays.
      • In step 13 of the test, the event would repeat at Thursday.
      • In step 16, the summary would say the event repeats at Thursdays.

      Actual results

      • In step 9 of the test, the event repeats at Thursday.
      • In step 11, the summary will say the event repeats at Wednesdays, as expected.
      • In step 13 of the test, the event repeats at Wednesday.
      • In step 16, the summary will say the event repeats at Wednesdays.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                victor.ware Victor Ware
                Reporter:
                adam.brandizzi Adam Brandizzi
                Participants of an Issue:
                Recent user:
                Esther Sanz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 43 weeks, 1 day ago

                  Packages

                  Version Package
                  6.2.X EE
                  7.0.0 Alpha 1