-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
4.3.4
-
MOODLE_403_STABLE
Using an LTI 1.3 item does not trigger the completion event when set to 'View the activity' when the LTI is set to open in a new window.
- Have an LTI 1.3 item created and have it set to display in an new window
- Create a course and add the above LTI item, then set its completion condition to 'View the activity.'
- As a student visit the LTI item from the main course page.
- Notice that the completion event is not triggered. (And is not even recorded in the logs that the item was clicked on)
- Go back to the main course page and use the left hand menu (I'm using Boost theme) and click on the same LTI link
- Notice that the completion event is triggered.
I think the issue in step #4 is that the link on the page has an href and uses the onclick function, whereas the left hand menu does not.
It looks like the onclick is running the launch.php file and never gets to the completion trigger, but the other link instead goes to view.php which does run the trigger event.