-
Notifications
You must be signed in to change notification settings - Fork 28
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
Duplicate statements sent and LRS not connected on language changes #132
Comments
oliverfoster
pushed a commit
that referenced
this issue
Sep 27, 2024
This has been resolved with the work done #132 and on release version https://github.com/adaptlearning/adapt-contrib-xapi/releases/tag/v1.1.9 |
github-project-automation
bot
moved this from Needs Reviewing
to Recently Released
in adapt_framework: The TODO Board
Oct 3, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Subject of the issue
Duplicate xAPI statements are sent when a user changes language and LRS not connected message is triggered
Your environment
Steps to reproduce
Create a multi-language course with any components but a simple test is to create a single page with a text component and accordion component on the languages
Add xAPI extension
Download
Test on platform with LRS connected
Select language from lang picker screen
Click on switch language icon
choose another language
view the page, view the text component and complete accordion component
Expected behaviour
We should receive one completed statement for the text component and one completed statement for the accordion component
Actual behaviour
We receive two statements for each component, ms apart
###Additional information:
If you switch languages again, an LRS not connected message appears, but if you then complete the components you will see new statements sent to the LRS - but instead of 2 per component it now increases to 4 per component.
The more you switch the more duplicate statements get generated, and the more times the LRS not connected message is generated when the language is switched - you need to click multiple times to dismiss
The text was updated successfully, but these errors were encountered: