-
Bug
-
Resolution: Not a bug
-
Minor
-
None
-
2.2.3
-
None
-
MOODLE_22_STABLE
I'm trying to sync courses via the external db enrollment plugin to moodle. The courses should automatically be put in the right categories.
My external database holds a code like VIE_8, but I tried also numerical values like 8.
The responding category has set its "Category ID number" to VIE_8, too.
When I now try to sync via enrol/database/cli/sync.php I get for many courses the following error:
error: invalid category id, can not create course
Some courses are created, BUT matched to the wrong categories. If my "Category ID number" is 8, it matches the course to course_categories.id with the id 8 instead of course_categories.idnumber
I think it is because enrol/database/lib.php works with the "idnumber" field and the course/database/lib.php works with "id"
- has a non-specific relationship to
-
MDL-31845 "Local category field" option in database enrol plugin
-
- Closed
-