-
Bug
-
Resolution: Fixed
-
Minor
-
3.10
-
MOODLE_310_STABLE
-
MOODLE_310_STABLE
-
MDL-70059-master -
-
Moppies Kanban
Steps to reproduce
- Login as admin.
- Go to "Site administration / Badges / Manage backpacks"
- Create a backpack with the following details:
- Backpack API - https://api.eu.badgr.io/v2
- Backpack URL - https://eu.badgr.io
- API Version - Open Badges v2.0
- Include authentication details with the backpack - Disabled
- Save changes.
- Create another backpack with the following details:
- Backpack API - https://api.ca.badgr.io/v2
- Backpack URL - https://ca.badgr.io
- API Version - Open Badges v2.0
- Include authentication details with the backpack - Disabled
- Save changes
Expected behaviour
Backpack is saved and no error is displayed.
Current behaviour
Backpack is saved but the following error is displayed:
ERROR: duplicate key value violates unique constraint "mdl_badgback_useext_uix" |
DETAIL: Key (userid, externalbackpackid)=(0, 0) already exists. |
INSERT INTO mdl_badge_backpack (email,password,externalbackpackid,userid,backpackuid,autosync) VALUES($1,$2,$3,$4,$5,$6) RETURNING id |
[array (
|
'email' => '', |
'password' => '', |
'externalbackpackid' => 0, |
'userid' => 0, |
'backpackuid' => 0, |
'autosync' => 0, |
)]
|
|
- Testing discovered
-
MDL-70070 Some data providers incorrectly named
-
- Closed
-