Skip to content

Conversation

drgrice1
Copy link
Member

This deletes the course map entry for the course's previous name, and then creates a new entry for the course's new name.

Since the renameCourse method is also used when unarchiving a course to a different name, care needs to be taken to ensure that this is only done for a course rename, and not for that situation. Thus there is a new updateLTICourseMap option for the method. This is only true when the method is called to rename a course directly.

This addresses issue #2824.

This deletes the course map entry for the course's previous name, and
then creates a new entry for the course's new name.

Since the `renameCourse` method is also used when unarchiving a course
to a different name, care needs to be taken to ensure that this is only
done for a course rename, and not for that situation. Thus there is a
new `updateLTICourseMap` option for the method.  This is only true when
the method is called to rename a course directly.

This addresses issue openwebwork#2824.
@drgrice1 drgrice1 force-pushed the course-rename-update-lti-course-map branch from abf3f09 to afdf319 Compare September 23, 2025 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant