Uploaded image for project: 'PUBLIC - Liferay Alloy UI'
  1. PUBLIC - Liferay Alloy UI
  2. AUI-1546

The Scheduler month view is incorrect if there are multiple overlapping events at the first day of the week

    Details

      Description

      A way to reproduce the error is to change demos/scheduler/index.html, using this array of items:

      var items = [
          {
              content: 'Event 1',
              startDate: new Date(2014, 6, 4),
              endDate: new Date(2014, 6, 20),
              allDay: true
          },
          {
              content: 'Event 2',
              startDate: new Date(2014, 6, 4),
              endDate: new Date(2014, 6, 20),
              allDay: true
          },
          {
              content: 'Event 3',
              startDate: new Date(2014, 6, 4),
              endDate: new Date(2014, 6, 20),
              allDay: true
          },
          {
              content: 'Other event',
              startDate: new Date(2014, 6, 20),
              endDate: new Date(2014, 6, 22),
              allDay: true
          },
      ];
      

      If Sunday is the first day of the week, and:

      • 3 or more events end on Sunday, for example from 7/4 to 7/20
      • another event starts the same day and ends a few days later, for example from 7/20 to 7/22

      Then in month view, while the 7/20 cell correctly shows 2 events and a "Show 2 more" links, the cells 7/21 and 7/22 seem to be empty. Instead, they should show the fourth event, most likely with a "Show 1 more" link.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 years, 16 weeks, 2 days ago

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 4 minutes
                  4m
                  Logged:
                  Time Spent - 0 minutes
                  0m

                    Packages

                    Version Package
                    2.0.x
                    master
                    master-deprecated
                    3.0.x
                    2.0.0.38-deprecated
                    3.1.x