Greetings!
I am attempting to change the shortname of existing courses via the Upload Courses interface with a CSV file. The importance to us is the script on our registration system to generate the CSV file for our adds and drops uses shortname to match. Unfortunately, when we created the courses via a CSV file, the CSV file generated by our registration system added an extra space in the shortname field.
So thus we need to change, for example:
BIO5012101-fall -19 to BIO5012101-fall-19
it may be hard to see but there is an extra space between fall and -19 in
BIO5012101-fall -19
The CSV file reads:
shortname | rename |
BIO5012101-fall -19 | BIO5012101-fall-19 |
with:
I receive a green checkmark and Course renamed in the status field but the shortname has not been changed. Viewing the shortname field in mdl_course shows no change.
I have searched for similar posts and found an old one with the same query but no replies. I've also tried various combinations of fields and quotes around the shortname in the upload CSV file, but alas, no success.
We are running locally Moodle 3.5.1, CentOS, MariaDB 5.5.60, php 7.2.21
I appreciate any assistance and guidance - thank you!