Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Course won't complete if Trickle unlocks #319

Open
matthorton16 opened this issue Aug 29, 2024 · 0 comments
Open

Course won't complete if Trickle unlocks #319

matthorton16 opened this issue Aug 29, 2024 · 0 comments
Labels

Comments

@matthorton16
Copy link

Subject of the issue/enhancement/features

When viewing a trickled course that completes with_requireContentCompleted, logging out on the second last component breaks completion when returning to the course.

Your environment

  • 5.31.17
  • all browsers
  • all devices & OS

Steps to reproduce

Complete a course that is locked by trickle to the second last component. Before clicking the last trickle button, close the course and open it again.

Expected behaviour

The course would unlock the last component, and the course would mark complete.

Actual behaviour

The checkCompletion method in tracking.js runs before setupEventListeners from adapt-sateful-sessions.js sets up listeners for tracking:complete. This means the course doesn't ever run onTrackingComplete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants