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

Error when exporting from glossary activity

    XMLWordPrintable

Details

    • MOODLE_311_STABLE, MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • MDL-76192-311
    • MDL-76192-400
    • MDL-76192-master
    • Hide
      1. Login as admin.
      2. Set the debug mode (Debug messages) to DEVELOPER (Site administration > Development > Debugging)
      3. Set 'Display debug messages' = Yes  (Site administration > Development > Debugging)
      4. Ensure Portfolios are enabled on your Moodle site (https://docs.moodle.org/400/en/Managing_portfolios
        • enable the File download portfolio plugin (enabled and visible)
      5. Create a course.
      6. Create a glossary activity in the course.
      7. In the glossary activity add an entry
        • add several keywords for the entry
          NOTE: has to be more than one keyword and each keyword needs to be entered on a new line
        • save changes
      8. Go back to the glossary homepage
      9. Click on the '+' symbol to attempt to export the newly created entry to your portfolio
      10. On the next page where you are requested to configure the export data
        • confirm that you do not see a debug error message
      11. Select HTML as the export format and press next
      12. On the next page confirm the export action by pressing "Continue"
      13. Once the download of the .html file is complete, open the file in a browser
        • confirm that all keywords for the entry are displayed
      Show
      Login as admin. Set the debug mode (Debug messages) to DEVELOPER (Site administration > Development > Debugging) Set 'Display debug messages' = Yes  (Site administration > Development > Debugging) Ensure Portfolios are enabled on your Moodle site ( https://docs.moodle.org/400/en/Managing_portfolios )  enable the File download portfolio plugin (enabled and visible) Create a course. Create a glossary activity in the course. In the glossary activity add an entry add several keywords for the entry NOTE : has to be more than one keyword and each keyword needs to be entered on a new line save changes Go back to the glossary homepage Click on the '+' symbol to attempt to export the newly created entry to your portfolio On the next page where you are requested to configure the export data confirm that you do not see a debug error message Select HTML as the export format and press next On the next page confirm the export action by pressing "Continue" Once the download of the .html file is complete, open the file in a browser confirm that all keywords for the entry are displayed
    • 2
    • HQ Team Alpha - Sprint 1.1

    Description

      During testing of MDLQA-16838, on the current integration_master branch, I discovered a debug error just after click the '+' symbol (add to portfolio) on a glossary activity. I have been able to replicate it on stable_400 and stable_311.

      To replicate the issue:

      1. Ensure oAuth2 is setup on the Moodle site for login and internal use
      2. Ensure Portfolios are enabled on your Moodle site
      3. Ensure Google Drive repository is enabled on your Moodle site
      4. Log in to Moodle using an oAuth account (I used Google)*
      5. Contribute to a Glossary Activity by adding an entry
        • add several keywords (has to be more that one)
      6. Click on the '+' symbol to attempt to export it to your portfolio
      7. Error should appear

      *You will need to have the oAuth2 user account enrolled into a course. If this is your first time:

      1. Log in with an oAuth2 account to get them in the Moodle DB users
      2. Log in as an admin and enrol them into a course
      3. Log back in with your oAuth2 account and proceed 

      Attachments

        1. MDL-76192_master_1.png
          MDL-76192_master_1.png
          124 kB
        2. MDL-76192_master_2.png
          MDL-76192_master_2.png
          310 kB
        3. MDL-76192_v311_1.png
          MDL-76192_v311_1.png
          120 kB
        4. MDL-76192_v311_2.png
          MDL-76192_v311_2.png
          277 kB
        5. MDL-76192_v400_1.png
          MDL-76192_v400_1.png
          121 kB
        6. MDL-76192_v400_2.png
          MDL-76192_v400_2.png
          383 kB

        Issue Links

          Activity

            People

              Geshoski Mihail Geshoski
              david.woloszyn@moodle.com David Woloszyn
              Simey Lameze Simey Lameze
              Victor Déniz Falcón Victor Déniz Falcón
              Angelia Dela Cruz Angelia Dela Cruz
              Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                16/Jan/23

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours, 40 minutes
                  4h 40m