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

Adding calendar to site throws javascript error that can temporarily break functionality

    Details

      Description

      Reproduced on:
      Tomcat 8.0.32 + MySQL 5.6.29. Portal master GIT ID: 30a0288c39bb73ad154dab20d3d37e40f60d921e.

      Steps to Reproduce:

      1. Start portal
      2. Enable Javascript console
      3. Add calendar to the Welcome page
      4. Assert error message in Javascript console
      5. Go to Control Panel > Sites
      6. Add new blank site

      Expected Result:
      No javascript error is thrown when adding calendar. After adding Calendar, a new site can be added by the user.

      Actual Result:
      Javascript error is thrown and user cannot input new site fields until page is refreshed.

      TypeError: A.Calendar is not a constructor http://localhost:8080/web/guest/calendar-page:779

      Note: Refreshing the page fixes the issue. Adding the calendar a second time does not cause the error again.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                victor.ware Victor Ware
                Reporter:
                victor.ware Victor Ware
                Participants of an Issue:
                Recent user:
                Luciana Silva
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  7.0.0 CE GA1