Conditional activities: Completion tracking issue MDL-26778

Re: Conditional activities: Completion tracking issue MDL-26778

by sam marshall -
Number of replies: 6
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

Hi Andre,

I am pretty sure any changes in 2.0.3 did not make it worse in this regard (i.e. the problem in the listed bug, and any similar problems, were in original 2.0 as well).

The file download issue is a slightly different one to the one mentioned. The other one was about viewing pages. With file downloads, depending on settings you may not even go to a separate page which may mean it is unable (using the normal mechanism) to update completion tickboxes on the page that the user is looking at.

You may be able to minimise this problem if you set the file option that means it opens a new page in the browser instead of downloading immediately. That way at least once students return to the course page, the extra options will be there.

If this problem does occur as expected, please file it (complete with minimal steps as to how to set up a new course to reproduce it) as a new bug using the Moodle Tracker. (In general when there is a problem and it maybe relates to a bug that was already fixed - you should file a new bug and not add to or reopen the old one.) You might also want to add a comment to the old bug, giving the number of your new bug, since it is a related problem and that might help people locate the new bug.

I am not sure exactly how to fix it but it should probably be possible (most likely by adding some javascript that causes it to reload the page after downloading the file) so if you file a bug I'll take a look.

--sam

In reply to sam marshall

Re: Conditional activities: Completion tracking issue MDL-26778

by Andre Kruger -

Thanks Sam, I will setup a course again and provided all the details in the bug. It would be great if we can add some Javascript to refresh the page once the file download is clicked as this will definitely then enable the next content. Would a fix like this be included in a general Moodle release or would I have to included in in my own code? Maybe not all Moodle users would like such a feature?

Thanks for your help! The Moodle community is really one of the best communities I have encountered.

In reply to Andre Kruger

Re: Conditional activities: Completion tracking issue MDL-26778

by sam marshall -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

smile

Assuming the fix can be done (there might be some catch! I'm not quite 100% confident about this) then it would happen as part of a general Moodle update.

--sam

In reply to Andre Kruger

Re: Conditional activities: Completion tracking issue MDL-26778

by Daniel Wright -

Hi Andre - we are encountering the same problem (or at least similar) and would definitely like to see this addressed as well.  We have Moodle installed in a corporate setting where employees take self-paced courses for various types of mandatory and optional training.  Some coures are set up to follow a strict sequence using the restrict access and activity completion settings.

Whenever a file resource is set to load in a pop-up or new window, the course outline page does not automatically refresh to indicate that it has been viewed, and this prevents users from moving to the next item in the course.  Unfortunately, most users don't understand that they can simply refresh the page to remedy the problem.

I have a developer looking at this today.  I don't know if he will be able to find a good way to fix this, but I will be happy to share whatever we learn.

Thanks,
Dan

In reply to Daniel Wright

Re: Conditional activities: Completion tracking issue MDL-26778

by Andre Kruger -

Thanks Dan. The Moodle community is really great! Just to let you know that the Moodle Dev team is looking at this issue and I'm sure it will be released as part of the core. I don't think it will make it into V2.1 but hopefully soon afterwards.

Thanks

Andre

In reply to Daniel Wright

Re: Conditional activities: Completion tracking issue MDL-26778

by Andre Kruger -

Hi Daniel, just wanted to check if you ever managed to get a fix for this issue, as I see the Moodle team never released a fix. Thanks Andre