-
Bug
-
Resolution: Fixed
-
Minor
-
2.1.1
-
None
-
Centos 5.6 x86_64, Apache 2.2.3, php 5.3.3, postgresql 8.4
External database is also a postgresql 8.4
-
PostgreSQL
-
MOODLE_21_STABLE
-
MOODLE_21_STABLE, MOODLE_22_STABLE
-
w51_
MDL-29117_m23_enrolnewcourse -
If the external database enrollment plugin is configured to create courses (enrol_database|newcoursetable, etc.) and no valid value for enrol_database|templatecourse is provided, then newly created courses do not contain the values from the sitewide course default configuration menu, as could be expected.
Moreover, due to the unconfigured values for attributes like numsections and especially summary, some functionality of moodle is not working properly with the newly created courses.
Expected Behaviour
- Either make the template course setting mandatory OR
- (IMHO better) use the config settings from the site - wide default course setting module
- It would be very nice if a warning / info message could be displayed at the command line (probably in combination with the upcoming verbose flag) in order to hint at the source of unintended behaviour
Cf. http://moodle.org/mod/forum/discuss.php?d=169175 for a potentially related discussion (well, maybe?)