Feature Request - Roll Course(s) Forward

Feature Request - Roll Course(s) Forward

by Alan Thompson -
Number of replies: 12
Being new to Moodle and the OU, I have been allowed the task of creating a mechanism to enable this process as fully as possible during the creation of "New Courses" whilst being Restored from existing ones.

Currently this requires a Course Backup followed by a Restore ( with loads of clicking) and then manual changes to things like the Course Code, Title, Start Date, and changes to any individual modules with dates applied.

The way I understand it, it should be possible to modify the 'Restore - Create New Course' process slightly to accept these as parameters during the restore process, and pass them on to the individual modules to do any updates.

I'd like to be able to do this with as little user intervention as possible, so that it could be automated to Roll Forward one or more courses as easily aspossible.

I will be raising this as a Feature request within the tracker and we're hoping to get this feature in to the next major release,  but before doing that I'd like to make sure I get the process defined as accurately as possible, for that I need your help.
 
Average of ratings: -
In reply to Alan Thompson

Re: Feature Request - Roll Course(s) Forward

by A. T. Wyatt -
This would be terrific!  If I were going to design a roll forward for teachers, I would want to have some checkboxes and a couple of places to put updated information (as you outlined above).

a) teacher would be the same in most cases; for those that don't fit, we can just have a manual restore?  So current primary instructor would remain.
b) course full name should be the same
c) shortname will need to be unique.  There should be a place to put the new id, because the old version might be left on the server for some time to allow for grade challenges, etc. (you said that, manual changes to Course Code)
d) category would remain the same
e) are you planning to not include students as default?  If not, you get into what you want to keep--would require a more granular approach--all the clicking you want to avoid!
e) date new course would begin
f) option for new or blank enrollment key
g) option for student visibility on creation

Speaking for myself, I would like to have the process run through some sort of simple last minute edit and course approval prior to being created.  Sort of like the request module that moodle already has--did you look at that?  As admin, I would like to run my eye over the shortname field and make sure there are no other problems before releasing it.  If you have an approval step, then you would need to generate emails to the admin to let them know a course is waiting for approval, and an email to the instructor identifying the course that has been created as per their request.

I guess a lot of people create the courses automatically from the registrar's system.  Would you  need to consider how that scenario affects use of your module as well?  Or is your feature only meant to serve people who do not need automation in course creation?

I would love to have this!  It would make my life so much easier!

Cheers!
atw

In reply to A. T. Wyatt

Re: Feature Request - Roll Course(s) Forward

by Alan Thompson -
The idea isnt currently specific to any particular audience, its general only,
so an admin could roll forward an exsisting course for the next presentation period.
All approvals may already be in place, but you raise some interesting points, which I need to look in to.

I believe the idea is for a fresh copy of the existing course, no students, no current enrollments, and not visible to students at creation.

As a developer I dont yet have a feel for how the current system is used in the real world, so would want any changes to be as simple and usable as possible, for as many use cases as possible.

Al
In reply to Alan Thompson

Re: Feature Request - Roll Course(s) Forward

by Alan Thompson -
I am making progress with this feature but have identified a potential problem.

Restored events, ie course events + assignments, are not showing in the Calendar, i have tried to find if this is a pre-existing problem in the Forums and the Bug Tracker but cant find any references to it.

Is this a known problem which is explained somewhere else and I've missed it,
or could it a be Bug?

Alan

In reply to Alan Thompson

Re: Feature Request - Roll Course(s) Forward

by Alan Thompson -
There is no problem here. This was due to an incorrect assumption/expectation as to how things should appear in the calendar,  all is working correctly so far.
The Up comming events view is constrained to 21 days, so viewing the calendar for the "New Course" presentation the new dates are well outside the bracket.

However its not clear that this is occuring when the link says >Calendar and you are looking at August (2007) in the calendar any way.
Maybe the link label could be clearer.

Alan
In reply to Alan Thompson

Re: Feature Request - Roll Course(s) Forward

by Alan Thompson -
Work is progressing on this feature related to this post
http://moodle.org/mod/forum/discuss.php?d=45493
and this bug MDL-5532 which i have been working against.
This change however only applies to Activity modules, where dates relative to the Start Date are rolled forwards.
Also I dont have access to all Activity types so havent been able to update and test the SCORM module, and have recently been made aware of the need to provide the facility to roll forwards some dates used in Blocks, this is something i need to investigate.
In reply to Alan Thompson

Re: Feature Request - Roll Course(s) Forward

by Alan Thompson -
This feature which the OU will use to Roll Forwards courses is now complete, tested and commited to Moodle1.7 Head.
This change provides the following
* New fields on Restore form to enable changes to Short Name, Full Name and Start Date
* Start Date offset added to Restore process
* Created Restorelog file in Course files area
* Activity Modules use offset to change dates
* Activity Modules write changes to Restorelog
In reply to Alan Thompson

Re: Feature Request - Roll Course(s) Forward

by Helen Foster -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers Picture of Translators
Hi Alan,

Thanks for this new feature approve which now has a documentation page: docs.moodle.org/en/Roll_courses_forward
In reply to Helen Foster

Re: Feature Request - Roll Course(s) Forward

by Ray Lawrence -
This looks great! I just updated my test Moodle from CVS and backed up a course and attempted a restore and had an error message. I've added detail at the above bug ref. in case this is a related matter.

MDL-5532
In reply to Ray Lawrence

Re: Feature Request - Roll Course(s) Forward

by Alan Thompson -
Been away on a Scout Camp over the weekend so just spotted this post,
had responded to the comment in the bugtracker before leaving though.

This feature only affects the Restore of the Moodle.xml file in the zip file created during Backup.
Any errors in the zip operation must be attributable to the Backup process or the Course in question.
I tested this myself by creating a new course and restoring it, using a later cvs update, and also by restoring previously created backups, i experienced no such errors.

Alan.
In reply to Alan Thompson

Re: Feature Request - Roll Course(s) Forward

by Petr Skoda -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers
Hi Alan,

I just added a bug report MDL-6702 to the tracker. Could you please have a look at it?

Thanks!
In reply to Petr Skoda

Re: Feature Request - Roll Course(s) Forward

by Alan Thompson -
I have now completed work on this bug Petr, i have put the patch forwards for peer review here at the OU, and also added it with a comment in the tracker.

As soons as i get a favourable response to the changes i shall commit them.

This facility is applied as part of the existing Restore Process, which must be applied on an individual course basis, i believe a Bulk Upload process is being looked at else where.
In reply to Alan Thompson

Re: Feature Request - Roll Course(s) Forward

by Owen Stephens -
Typically we would want to roll forward a large number of courses in one go - is it possible to use this new roll course forward functionality as some type of batch job, or do you have to do them one by one?