-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
3.3.5, 3.4.2
-
MOODLE_33_STABLE, MOODLE_34_STABLE
-
Privacy Sprint 1
The privacy types plugintype_link, subsystem_link, user_preference return null for the get_privacy_fields() method which isn't allowed as the return type is "array". If they are ever called, they throw a TypeError.
To reproduce:
$a = new \core_privacy\local\metadata\types\user_preference('my name'); |
$a->get_privacy_fields();
|
- will be (partly) resolved by
-
MDL-61692 Extend link_subsystem calls to allow components to specify privacy fields when linking
-
- Closed
-