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

Privacy data request export not navigable

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1 regressions
    • Fix Version/s: 3.8
    • Component/s: Privacy
    • Labels:
    • Testing Instructions:
      Hide
      • Make sure that you have at least one course with a student enroled in the course, preferably with the student having made a submission to an assignment.
      1. Go to 'Site administration > Users > Privacy and policies > Privacy settings' and enable 'Contact the privacy officer'.
      2. Log in as the student mentioned above.
      3. Click on the user menu in the top right corner.
      4. Click 'Profile'
      5. In the 'Privacy and policies' section click the link 'Export all of my personal data'
      6. Add a comment (anything) and click save changes.
      7. Log in as the administrator (or privacy officer if you have that set up).
      8. Go to 'Site administration > Users > Privacy and policies > Data requests'.
      9. Find the request made by the student and approve it (Actions menu - Approve request.).
      10. Run the cron. From the command line type in:

        php admin/cli/cron.php
        

      11. When the cron is finished refresh the Data requests page.
      12. The request should have the status of 'Download ready'.
      13. From the actions menu click the Download link.
      14. Save the file to your computer.
      15. Extract the downloaded file somewhere.
      16. Open the extracted folder.
      17. open index.html in a browser (double click the file).
      18. Check that the navigation on the left expands.
        1. Clicking on User {name of the student}

          should result in more items being show such data.json.

      Show
      Make sure that you have at least one course with a student enroled in the course, preferably with the student having made a submission to an assignment. Go to 'Site administration > Users > Privacy and policies > Privacy settings' and enable 'Contact the privacy officer'. Log in as the student mentioned above. Click on the user menu in the top right corner. Click 'Profile' In the 'Privacy and policies' section click the link 'Export all of my personal data' Add a comment (anything) and click save changes. Log in as the administrator (or privacy officer if you have that set up). Go to 'Site administration > Users > Privacy and policies > Data requests'. Find the request made by the student and approve it (Actions menu - Approve request.). Run the cron. From the command line type in: php admin/cli/cron.php When the cron is finished refresh the Data requests page. The request should have the status of 'Download ready'. From the actions menu click the Download link. Save the file to your computer. Extract the downloaded file somewhere. Open the extracted folder. open index.html in a browser (double click the file). Check that the navigation on the left expands. Clicking on User {name of the student} should result in more items being show such data.json.
    • Fixed Branches:
      MOODLE_38_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-66710-master

      Description

      Once the export.zip file has been obtained and decompressed the index.html file in the browser, the navigation tree is not navigable.
      The following error is generated using the developer console in the browser:

      [Error] TypeError: undefined is not a constructor (evaluating 'new t('#my-tree')')
      ...

      This is only happening to me in the latest master and in integration master branch, not in 3.7.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                abgreeve Adrian Greeve
                Reporter:
                cescobedo Carlos Escobedo
                Peer reviewer:
                Carlos Escobedo
                Integrator:
                Jun Pataleta
                Tester:
                Jennifer Bauzon
                Participants:
                Component watchers:
                Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  18/Nov/19

                  Time Tracking

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