Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
3.6.3
-
None
-
None
-
MOODLE_36_STABLE
Description
question_attempt is a completely encapsulated class (all fields protected, with getters where needed), except for $timemodified, which is public. (Before MDL-65245 it was undeclared, meaning that it was effectively public, and it seems that the privacy code is relying on that.)
This field should be changed to be protected like everything else.
Attachments
Issue Links
- Discovered while testing
-
MDL-65245 Question engine: sometimes step data is a string, and sometimes an int
-
- Closed
-