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

Handle correctly when module doesn't have privacy support

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      1. Install the question type: qtype_ddmatch
      2. Run unit tests like: vendor/bin/phpunit "tool_dataprivacy_metadata_registry_testcase" admin/tool/dataprivacy/tests/metadata_registry_test.php
      3. Failure expected "Error: Class 'qtype_ddmatch\privacy\provider' not found"

      Show
      1. Install the question type: qtype_ddmatch 2. Run unit tests like: vendor/bin/phpunit "tool_dataprivacy_metadata_registry_testcase" admin/tool/dataprivacy/tests/metadata_registry_test.php 3. Failure expected "Error: Class 'qtype_ddmatch\privacy\provider' not found"
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_35_STABLE, MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      mdl63334-master

      Description

      This item implements a fix that breaks unit tests for Metadata registry privacy unit tests that fail when a plugin doesn't have privacy support.

      The unit test sees it as not compliant and continues on testing.

        Attachments

        1. MDL-63334-after.png
          MDL-63334-after.png
          283 kB
        2. MDL-63334-before.png
          MDL-63334-before.png
          249 kB
        3. ddmatch35.png
          ddmatch35.png
          16 kB

          Issue Links

            Activity

              People

              • Assignee:
                tlock Tim Lock
                Reporter:
                tlock Tim Lock
                Peer reviewer:
                Luca Bösch
                Integrator:
                David Monllaó
                Tester:
                David Monllaó
                Participants:
                Component watchers:
                Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  3/Dec/18