-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.1.3, 2.2, 2.3
-
Fix Version/s: 2.2.1
-
Component/s: Course
-
Database:Any
-
Testing Instructions:
-
Workaround:
-
Affected Branches:MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
-
Fixed Branches:MOODLE_22_STABLE
-
Pull from Repository:
-
Pull Master Branch:master_
MDL-29325 -
Pull Master Diff URL:
The IMS Enterprise currently only supports the use of the <short> tag which is mapped to the Course Full name field of a new course. The ID is mapped to the short name and the ID fields. To allow for flexible naming, this patch checks for the <long> tag and assigns that to the course full name when present. To further assist with compatibility the changes check for the following conditions.
If <long> && <short> are present, map them to Course full name and short name respectively
If <long>, but no <short>, map <long> to Course full name, and Map <id> to short name and ID
If <short>, but no <long>, map <short> to Course full name and Map <id> to short name and ID
If neither <short> or <long> are specified, the course creation will fail.