Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-74153

Portfolio download page generates js errors

XMLWordPrintable

    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • MDL-74153-master
    • Hide

      Please, test with all the supported browsers (Firefox, Chrome, Edge, Safari).

      This test requires the following:

      • Portfolios and the file download portfolio plugin to be enabled for the site
      • A database activity (with Approval required set to No) containing entries
      • Set the database template to the default one but check the ##export## tag is inside the template (add it if not)
      • This test should be done in Firefox (Chrome does not stop the JS loading so the error does not appear)

      Test steps:

      1. Log in as teacher/admin and access the database activity
      2. Click on the 'Export to portfolio' button of one entry
      3. Select file download as the portfolio.
      4. Open the browser console 
      5. Click on the 'Continue' button in the confirm form and wait until the download is done
      6. Check NO js errors/warning appears in the console log
      7. Check drawers (the course index for example) are toggleable (can be opened and closed)
      Show
      Please, test with all the supported browsers (Firefox, Chrome, Edge, Safari). This test requires the following: Portfolios and the file download portfolio plugin to be enabled for the site A database activity (with Approval required set to No) containing entries Set the database template to the default one but check the ##export## tag is inside the template (add it if not) This test should be done in Firefox (Chrome does not stop the JS loading so the error does not appear) Test steps: Log in as teacher/admin and access the database activity Click on the 'Export to portfolio' button of one entry Select file download as the portfolio. Open the browser console  Click on the 'Continue' button in the confirm form and wait until the download is done Check NO js errors/warning appears in the console log Check drawers (the course index for example) are toggleable (can be opened and closed)
    • Moppies Kanban

      When using the portfolio functionality, the download page causes a lot of js errors which during followup tests resulted in any drawer/dropdowns non-functional. 

      Instructions

      This test requires the following:

      • Portfolios and the file download portfolio plugin to be enabled for the site
      • A database activity (with Approval required set to No) containing entries from at least two students

      Test steps:

      1. Log in as teacher, edit the single template for the database activity and add an ##export## tag.
      2. Log in as a student, access the database activity
      3. Click on the 'Export to portfolio' button
      4. try exporting one of your entries, selecting file download as the portfolio.
      5. Open the browser inspector 
      6. Click on the 'Next' button
      7. Note the js errors/warning in the console log
      8. Note the drawers are not toggleable

      Refer to test for additional information

      Note: This could only be successfully replicated in FF. Chrome seems to be running fine.

            tusefomal Ferran Recio
            peterdias Peter Dias
            Carlos Escobedo Carlos Escobedo
            Victor Déniz Falcón Victor Déniz Falcón
            Gladys Basiana Gladys Basiana
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours, 55 minutes
                6h 55m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.