Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-43259

Lessons: Error when print view or print all and there is a calendar embed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 20.0, 21.0 [Tentative]
    • Fix Version/s: 20.0, 21.0 [Tentative]
    • Component/s: Lessons
    • Labels:
      None
    • 20 status:
      Verified
    • Test Plan:
      Hide

      Test 1:

      1. # Go to Lessons tool
      2. Click "Add Content"
      3. Click "Embed Calendar"
      4. Click "Print view" or "Print all" buttons
      5. A new tab is opened

      No calendar is shown

      Test 2 (this specific test might be very usual but other tools might be affected by this too):

      1. Go to Calendar
      2. Access the tool directly (remove the /site/id bit from the url)
      3. Click on Add Event
         
      Show
      Test 1: # Go to Lessons tool Click "Add Content" Click "Embed Calendar" Click "Print view" or "Print all" buttons A new tab is opened No calendar is shown Test 2 (this specific test might be very usual but other tools might be affected by this too): Go to Calendar Access the tool directly (remove the /site/id bit from the url) Click on Add Event  

      Description

      Lessons: Error when print view or print all and there is a calendar embed

      See attached image

      lessons-calendar.js?version=cb5bca5b:19 Uncaught ReferenceError: moment is not defined
          at events (lessons-calendar.js?version=cb5bca5b:19)
          at $t (main.min.js?version=cb5bca5b:6)
          at Object.fetch (main.min.js?version=cb5bca5b:6)
          at Xn (main.min.js?version=cb5bca5b:6)
          at Gn (main.min.js?version=cb5bca5b:6)
          at qn (main.min.js?version=cb5bca5b:6)
          at jn (main.min.js?version=cb5bca5b:6)
          at Kn (main.min.js?version=cb5bca5b:6)
          at e.reduce (main.min.js?version=cb5bca5b:6)
          at e.dispatch (main.min.js?version=cb5bca5b:6) 

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  • Assignee:
                    bergarvi Bernardo Garcia Vila
                    Reporter:
                    jesusmmp Jesus Maria Mendez
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    3 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved:

                      Git Integration