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

Minor fixes to metadata types and addition of core method for retrieving the null provider reason.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.5
    • Fix Version/s: 3.3.6, 3.4.3
    • Component/s: Privacy
    • Labels:
      None
    • Testing Instructions:
      Hide
      1. Install a version of the data privacy tool that contains a registry showing the status of all of the plugins on the site:
        1. Open a terminal and go to the admin/tool directory
        2. Clone my repo:

          git clone git@github.com:abgreeve/moodle-tool_dataprivacy.git dataprivacy

        3. Checkout the MDL-61489 branch
          • Master

            git checkout MDL-61489-master

          • 34

            git checkout MDL-61489-34

          • 33

            git checkout MDL-61489-33

      2. Log in as an admin.
      3. Proceed with the upgrade process to install the data privacy tool.
      4. Go to "Site administration > Data privacy > Data registry 2"
      5. Check that there are no errors. (Perhaps only warnings about missing strings, but that's fine).
      6. Find a plugin currently labelled as compliant and is a null provider such as "Gregorian calendar type".
      7. Expand for further details.
      8. Check that there is an English explanation available.
      Show
      Install a version of the data privacy tool that contains a registry showing the status of all of the plugins on the site: Open a terminal and go to the admin/tool directory Clone my repo: git clone git@github.com:abgreeve/moodle-tool_dataprivacy.git dataprivacy Checkout the MDL-61489 branch Master git checkout MDL-61489-master 34 git checkout MDL-61489-34 33 git checkout MDL-61489-33 Log in as an admin. Proceed with the upgrade process to install the data privacy tool. Go to " Site administration > Data privacy > Data registry 2 " Check that there are no errors. (Perhaps only warnings about missing strings, but that's fine). Find a plugin currently labelled as compliant and is a null provider such as "Gregorian calendar type". Expand for further details. Check that there is an English explanation available.
    • Affected Branches:
      MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      wip-MDL-61815-master

      Description

      Both plugintype_link and subsystem_link metadata types have a method get_privacy_fields() which is type hinted to return an array, but return null.
      There was also no current way for the dataprivacy tool to get to the null provider reason, so a method needs to be created in core to get at that.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              abgreeve Adrian Greeve
              Reporter:
              abgreeve Adrian Greeve
              Peer reviewer:
              Andrew Nicols
              Integrator:
              Jake Dallimore
              Tester:
              Janelle Barcega
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, 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:
                17/May/18