Skip to content

Course ID should be checked and retained during backup and restore / copy course #2

Open
@cjbsdigitallearning

Description

@cjbsdigitallearning

Hi

Great plugin. Also great that it supports the display of a section form a different course. However I think it can be improved by the following.

We plan to use the section block to show frequently accesses item on every course page, so for us the block will show the same or very similar content in each course. Course ID will always be the current course not a different one. We use a template course which is then used to create each new course, of which there are hundreds. We've encountered an issue in that the course ID is not updated to reflect the new course ID once restored, meaning that we'd need to manually update the Course ID in every course.

I can understand this behaviour wouldn't be desirable if displaying a section form a different course, so here what I propose:

During backup and restore / copy the Course ID in the Section block should be checked, if it matches the course being processed, then it should be updated to reflect the new course. If not it should retain the current behaviour on remain unchanged.

Hope this makes sense, happy to discuss further.

Best wishes
Neil

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions