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


    • Bug
    • Status: Closed
    • Resolution: Fixed
    • 6.2.X EE, 7.0.0 M3, 7.0.0 M4
    • 7.0.0 Beta 6
    • Calendar
    • None


      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.


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

        Issue Links



              harry.chai Harry Chai
              juan.gonzalez Juan Gonzalez (Inactive)
              Kiyoshi Lee Kiyoshi Lee
              0 Vote for this issue
              1 Start watching this issue


                7 years, 14 weeks, 5 days ago


                  Version Package
                  7.0.0 Beta 6