Picture of Paul MacIntyre
Trickle and Spoor Problem
by Paul MacIntyre - Friday, 16 January 2015, 4:13 PM
 

Hi all

We've found an odd problem when resuming a course with scorm tracking enabled and trickle turned on. When we watch a portion of a course, and then exit, the page level progress shows what we have completed, however trickle forces us to watch the first component again. Then the Continue button doesn't appear, and we're stuck.

Anyone ever experience this before? Any suggestions would be great.

Paul

Picture of Ignacio Cinalli
Re: Trickle and Spoor Problem
by Ignacio Cinalli - Tuesday, 20 January 2015, 5:51 PM
 

Hi Paul, I have the same problem when resuming scorm course. Can you solve this?

 

Picture of Paul MacIntyre
Re: Trickle and Spoor Problem
by Paul MacIntyre - Wednesday, 21 January 2015, 8:43 AM
 

No, I haven't been able to yet. I know the spoor data is being read on resume as the Page Level Progress shows the sections I have completed. I can also see the completed components coming back in the resume data, but trickle seems to be ignoring them.

I've tried taking some of the completion checks from the Page Level Progress and added them in to the trickle javascript, but I haven't had any luck with that.

Paul

Picture of Ignacio Cinalli
Re: Trickle and Spoor Problem
by Ignacio Cinalli - Wednesday, 21 January 2015, 12:49 PM
 

Hi Paul, I changed the function markBlockAsComplete adapt-contrib-spoor/js/serialisers/default.js
 markBlockAsComplete: function(block) {
            if (!block || block.get('_isComplete')) {
                return;
            }
            block.set('_isComplete', true);
            block.getChildren().each(function(child) {
                child.set('_isComplete', true);
            }, this);
        }

I'm testing now in moodle.

Picture of Paul MacIntyre
Re: Trickle and Spoor Problem
by Paul MacIntyre - Wednesday, 21 January 2015, 2:01 PM
 

Hi Ignacio

From a quick test, this seems to work.

Thanks for posting it.

Paul