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

Calendar - Javascript error while drag & drop in Resources Availability section

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.2.X EE, 7.0.0 M3, 7.0.0 M4
    • Fix Version/s: 7.0.0 Beta 6
    • Component/s: Calendar
    • Labels:
      None

      Description

      When one drags the placeholder event in the Invitations section, the start and end times of the event should be updated. It is not happening; instead, we get JavaScript errors.

      Steps to reporoduce

      1. Add calendar to a page.
      2. Open the browser's console.
      3. Click on "Add event".
      4. Observe the start and end times.
      5. Go to the "Invitations" section.
      6. Look for the white event with a dashed line:
      7. Drag it to another hour or day.
      8. Drop it.
      9. Click on the dropped event.
      10. Check the start and end times again.

      Expected results

      1. The start and end times would be updated.
      2. No error would happen.

      Actual results

      1. The start and end times are not updated.
      2. Errors appear on the console.

        Attachments

        1. drag-placeholder-event.gif
          drag-placeholder-event.gif
          955 kB
        2. Fixed.PNG
          Fixed.PNG
          119 kB
        3. placeholder.png
          placeholder.png
          1 kB
        4. Reproduced.PNG
          Reproduced.PNG
          122 kB

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 29 weeks, 2 days ago

                  Packages

                  Version Package
                  7.0.0 Beta 6