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

Calculation leads to runtime error when switching to structurally different language #235

Open
chris-steele opened this issue Jul 12, 2024 · 1 comment
Assignees
Labels

Comments

@chris-steele
Copy link
Contributor

chris-steele commented Jul 12, 2024

If the user switches to a structurally different language it is possible for a runtime error to occur. The error will occur in the following scenario:

  1. the user opens a page in a particular language
  2. whilst on the page the user switches to a language that does not have the page

The cause appears to be down to the plugin using the current location identifier to locate the page model. As the page model does not exist a reference error occurs.

@oliverfoster
Copy link
Member

I believe this is an almost identical bug. adaptlearning/adapt-contrib-core#568

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

No branches or pull requests

2 participants