Hi,
I'm trying to import a course using this command:
sudo -u www-data /edx/bin/python.edxapp /edx/app/edxapp/edx-platform/manage.py cms --settings=aws import /edx/var/edxapp/data /tmp/course
/tmp/course contains the usual subdirectories (static, vertical, sequential, etc.) and course.xml, which looks like this:
<course url_name="course" org="MyCompany" course="AB301"/>
The /tmp/course directory was created by expanding a tarball, which was created from the Tools > Export menu in Studio, from a Hawthorne version installation (server is named edx-dev). The course id is:
course-v1:MyCompany+AB301+Y2018_1
The original course was created in a pre-release before Birch. It has been imported into Cypress, Ginkgo, and now Hawthorne through the Tools > Import menu in Studio. I've never had any issues exporting/importing from Studio.
The import succeeds (this is also into a Hawthorne installation, server is named edx-staging), but instead of importing with the correct course id:
course-v1:MyCompany+AB301+Y2018_1
it creates a new course on edx-staging with this course id:
course-v1:MyCompany+AB301+course
That is, the run should be "Y2018_1", but instead it is "course".
I took a look at /edx/app/edxapp/edx-platform/common/lib/xmodule/xmodule/modulestore/xml_importer.py, but my python skills aren't good enough to figure out where it is getting the run value from.
Any help would be greatly appreciated!
Thank you,
Rebecca