Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-17933 Moodle 4.3 QA
  3. MDLQA-17994

CLONE - A student can export activity data to their portfolio



      • A Google Drive account for use during the test
      • Your Moodle site must be publicly available, you can use ngrok for that
      • Enable and configure OAuth 2 Google service (Refer to https://docs.moodle.org/401/en/OAuth_2_Google_service)
        NOTE: Take note of Client ID and Client secret generated
      • Create a new Google service (Site administration > Server > OAUth 2 services)
        NOTE: Uncheck "Require email verification" and check "I understand that disabling email verification can be a security issue"
      • Enable File download portfolio and Google Drive portfolio (Refer to https://docs.moodle.org/en/Google_Drive_portfolio)
        NOTE: Enable portfolios in Site administration > Advanced features if you can't find Manage Portfolios in Plugins
      • Download attached backup file and restore as new course


      1. As student, access your assignment submission
      2. Save your assignment submission data locally by clicking on the filename
      3. Go back to course and access a past chat session
      4. Click on "Export to portfolio"
      5. Choose File download as destination and click "Next"
      6. Follow the succeeding prompts to export the chat session data
      7. Return to course and access the forum activity
      8. Access your own forum post then click "Export to portfolio"
      9. Choose File download as destination and click "Next"
      10. Follow the succeeding prompts to export the forum post data
      11. Access another student's forum post and confirm that you can't export it
      12. Return to course and access the glossary activity
      13. Click on the corresponding "+" icon on your own glossary entry to export to portfolio
      14. Choose File download as destination and click "Next"
      15. Follow the succeeding prompts to export the glossary entry data
      16. Return to the glossary activity, confirm you cannot see the + icon on another student's entry
      17. Return to course and access Database activity
      18. Click on the actions menu of your entry in the activity (3 vertical dots on the right side of the entry name)
      19. Click on "Export to portfolio"
      20. Choose File download as destination and click "Next"
      21. Follow the succeeding prompts to export the database entry data
      22. Return to the database activity, confirm that you cannot see "Export to portfolio" on the actions menu of another student's entry
      23. Open the corresponding exported local files and confirm that each activity data is exported correctly
      24. Return to course and access assignment submission again
      25. Click on "Export to portfolio"
      26. Choose Google Drive as destination and click "Next"
      27. Follow the succeeding prompts to export Assignment data to Google Drive
      28. Repeat steps 3~10 and steps 12~15 while setting destination to Google Drive instead of File download
      29. Access your Google Drive account and check that a folder is created with the filename "portfolio-export-<activity>-<timestamp>. (e.g. portfolio-export-assign-1558669163.)
      30. Access the created folder and confirm that file is exported correctly

        1. all-exports-working-download.png
          257 kB
        2. backup-moodle2-course-17-c01-20230322-1510.mbz
          411 kB
        3. cannot-export-other-users-database.png
          48 kB
        4. cannot-export-other-users-forum-post.png
          37 kB
        5. cannot-export-other-users-glossary.png
          49 kB
        6. export-assignment.png
          115 kB
        7. export-chat.png
          54 kB
        8. export-database.png
          63 kB
        9. export-forum-post.png
          63 kB
        10. export-glossary.png
          52 kB
        11. google-drive-assignment.png
          17 kB
        12. google-drive-chat.png
          167 kB
        13. google-drive-database.png
          113 kB
        14. google-drive-folders.png
          35 kB
        15. google-drive-forum-post.png
          56 kB
        16. google-drive-glossary.png
          40 kB

            david.woloszyn@moodle.com David Woloszyn
            0 Vote for this issue
            1 Start watching this issue


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