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

getContext Bug #1212

Closed
korgon opened this issue Nov 25, 2024 · 0 comments · Fixed by #1213 or #1226
Closed

getContext Bug #1212

korgon opened this issue Nov 25, 2024 · 0 comments · Fixed by #1213 or #1226
Labels
type: bug Something isn't working

Comments

@korgon
Copy link
Contributor

korgon commented Nov 25, 2024

The getContext function can cause the entire integration to fail to load if it encounters an error. This typically is identified right away when doing an integration, however, there are cases where there may be an error when using a branch over ride (or the Snapfu extension). These errors can occur because the bundle evaluates at a different time, and global variables may now exist. The error only happens when there is a variable being declared in the script that was not requested in the "evaluate" parameter. A global variable is attempted to be overwritten - because the variable was not part of the "evaluate" list.

The error that can happen is:
Assignment to constant variable.

@korgon korgon added the type: bug Something isn't working label Nov 25, 2024
@korgon korgon linked a pull request Nov 25, 2024 that will close this issue
@korgon korgon mentioned this issue Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant