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

A JavaScript error is raised when the left column of the calendar is disabled.

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 7.0.0 CE GA1
    • Fix Version/s: 7.0.0 CE GA1
    • Component/s: Calendar
    • Labels:
      None

      Description

      When the left column of the calendar is hidden (cf. LPS-64201) a JavaScript error is show in the console.

      Steps to reproduce

      1. Add calendar to a page.
      2. Hide the left column
        • On the calendar's portlet header, click on the "kebab" menu () > Configuration
        • Click on "Display Settings"
        • Click on "Show Scheduler Only"
        • Click in "Save."
      3. Close the configuration dialog.
      4. Open a JavaScript console.
      5. Refresh the page.

      Expected results

      • No error would happen.

      Actual results

      • An error happens at the console:
        • In Chrome: Uncaught TypeError: Cannot read property 'delegate' of null
        • In Firefox: TypeError: A.one(...) is null

        Attachments

        1. Fixed.PNG
          Fixed.PNG
          63 kB
        2. Reproduced.PNG
          Reproduced.PNG
          50 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, 20 weeks ago

                  Packages

                  Version Package
                  7.0.0 CE GA1