Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.9.6, 3.10.1, 3.11, 4.0
-
Component/s: Badges
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
-
Fixed Branches:MOODLE_310_STABLE, MOODLE_39_STABLE
-
Epic Link:
-
Pull from Repository:
-
Pull 3.9 Branch:
MDL-70963-39 -
Pull 3.9 Diff URL:
-
Pull 3.10 Branch:
MDL-70963-310 -
Pull 3.10 Diff URL:
-
Pull 3.11 Branch:
MDL-70963-311 -
Pull 3.11 Diff URL:
-
Pull Master Branch:
MDL-70963-master -
Pull Master Diff URL:
-
Sprint:Moppies Kanban
Description
While working on MDL-63961 I've realised JSON files haven't the expected format for OBv2.1 badges (in some cases they are using OBv1.0 fields) because there are some comparisons with OPEN_BADGES_v2. For instance, here: https://github.com/moodle/moodle/blob/master/badges/classes/assertion.php#L328
This issue should review all these checks and fix them to guarantee the format for OBv2.1 is the expected.