UploadCourseContent and RewriteLinks are both updating the content. The first update will have broken links, and then the links are fixed on the second pass. Learners using the course may find broken links if their timing is unfortunate.
Recommended fix is to only create new modules and topics in the first pass, with empty content. This reduces the impact by leaving existing content intact. The second pass in the link rewriter would then update all content.
Originally posted by @PeteLloyd in #35
UploadCourseContent and RewriteLinks are both updating the content. The first update will have broken links, and then the links are fixed on the second pass. Learners using the course may find broken links if their timing is unfortunate.
Recommended fix is to only create new modules and topics in the first pass, with empty content. This reduces the impact by leaving existing content intact. The second pass in the link rewriter would then update all content.
Originally posted by @PeteLloyd in #35