Uploaded image for project: 'Mocca Calendar Application'
  1. Mocca Calendar Application
  2. MOCCACAL-99

Ical Links not injected for non-terminal calendars

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5.1
    • Fix Version/s: 2.6, 2.5.2
    • Component/s: ical
    • Labels:
    • Similar issues:

      Description

      On my development instance (MoccaCal 2.5.1, XWiki 7.4.2) the "ical" link in the calendar overview stops being injected at the first non-terminal calendar page.

      See screenshot; the "Other Events" and "A Terminal" are terminal calendar pages; the "New Calendar" is the first non-terminal calendar in the list.

      After embedding the MoccaiCalendar.Service javascript in a non-minified way the JS error shows in line 6:

       TypeError: $(...).find(...)[0] is undefined
      	var calendarLink = $(this).find("td a")[0].attributes.href.value
      

        Attachments

          Activity

            People

            • Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              camil7 Clemens Robbenhaar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: