Skip to content

Content is double-updated #39

@PeteLloyd

Description

@PeteLloyd

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions