Description:
When executing the Course PATCH Rest API to update course data, sometimes the information is not updated after copying from another course.
Steps to Repeat:
Prerequisite: REST API application setup on system and Learn platform
- Create a course through REST API endpoint (POST /learn/api/public/v3/courses)
- Copy data and content from another course (POST /learn/api/public/v2/courses/{courseId}/copy)
- Update course data (course name and dataSourceId...) (PATCH /learn/api/public/v3/courses/{courseId})
- Retrieve course data
Observed Behavior:
Sometimes the data updated in Step 3 is being lost or overwritten, because the results in Step 4 return the initial information created in Step 1.
Expected Behavior: The data updated in Step 3 should be reflected in Step 4 when pulling the course data.