LTI published quiz - back to course button

LTI published quiz - back to course button

N W གིས-
Number of replies: 6

Hello

I have a couple of issues with LTI:

I have published a quiz using LTI. This is working. However,  the quiz page summary has a return to course button, but the users are not enrolled and therefore cannot access the course.

In addition they now have an LTI enrollement ID and cannot return to their original course.

I've tried alternating the user synchronization settings but the problem persists.

The only solution is for students to close their browser, clear the cache and log back into their course.

What am I doing wrong?

Thanks!

དཔྱ་སྙོམས་ཀྱི་སྐུགས་ཚུ།: -
In reply to N W

Re: LTI published quiz - back to course button

Tim Hunt གིས-
Core developers གི་པར Documentation writers གི་པར Particularly helpful Moodlers གི་པར Peer reviewers གི་པར Plugin developers གི་པར
I think you have probably found a bug here. Or, at least, something that should be improved.

I wonder how this should work, in an ideal world?
In reply to Tim Hunt

Re: LTI published quiz - back to course button

N W གིས-
Hello Tim
I've tested this on an external site and the issue is the same. I've set the activity to open in a new window.
When arriving at the limit of number of quiz attempts the user is presented with the button "Back to the Course". This is confusing as the users are not enrolled, they just have access to the LTI published activity.
A solution would be to 
  • hide the button or 
  • use the button link to close the window
Is this fairly easy to do?

Attachment No more attempts - back to the course.png
In reply to N W

Re: LTI published quiz - back to course button

Jake Dallimore གིས-
Core developers གི་པར Moodle HQ གི་པར Particularly helpful Moodlers གི་པར Peer reviewers གི་པར Plugin developers གི་པར Testers གི་པར

Hi N W,

"In addition they now have an LTI enrollement ID and cannot return to their original course."

This line suggests you're launching into a tool provided by the same site. Is that right? I.e. the consumer and the provider are the same site. If so, you will definitely run into session problems because with LTI 1.1 there is no way to achieve account re-use. When the user launches the tool, they get an LTI specific account and are signed in to that.

If that's not the case, can you please clarify?

Cheers,
Jake

In reply to Jake Dallimore

Re: LTI published quiz - back to course button

N W གིས-

Hello Jake

Thanks for the explanation.

Yes, you are correct.  I have a course dedicated to quiz activities which are shared with other courses on the same site via the external tool. Is there a workaround for this ? 

In reply to N W

Re: LTI published quiz - back to course button

Jake Dallimore གིས-
Core developers གི་པར Moodle HQ གི་པར Particularly helpful Moodlers གི་པར Peer reviewers གི་པར Plugin developers གི་པར Testers གི་པར
Unfortunately, not as far as I know. It's something that won't be addressed for LTI 1.1 either, since that's now deprecated by IMS and we're not adding to our implementation of that in any major way.

It's my hope that user account provisioning will be improved in the LTI Advantage work for 4.0 and further improved in 4.1 - and this includes for same site uses. What we essentially need is a way to configure each published course of resource so that it allows re-use of existing accounts on launch.

You can see there's already a request for this in MDL-57345, where I've recently added a few comments near the bottom discussing options for provisioning in 4.0/4.1.

Of course that won't address the "Back to course" behaviour in Quiz, but it will address the need to log out and back in again to get access to the original session.

Cheers,
Jake