Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.1.4
-
Component/s: Competencies
-
Testing Instructions:
-
Difficulty:Easy
-
Affected Branches:MOODLE_31_STABLE
-
Fixed Branches:MOODLE_33_STABLE, MOODLE_34_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-58058-master -
Pull Master Diff URL:
Description
The competency objects have a default sortorder value, but when used with the external function to create a competency, it does not work because the default value null is given to the property and does not match PARAM_INT.
Changing the default to 0 solves the problem without affecting the current behaviour because internally the sortorder is always forced when creating a competency.
Update methods are not affected.