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

fix: EditorMosaic safeguard against unwanted files #769

Merged
merged 2 commits into from
Jul 13, 2021
Merged

Conversation

ckerr
Copy link
Member

@ckerr ckerr commented Jul 13, 2021

Fixes #768.

This fixes at least one cause of the added Editor for unexpected file errors showing up in Sentry. All the ones I see in Sentry look like this, so maybe it fixes them all.

  • Fix a logic error in EditorMosaic.set() that accidentally remembered some unwanted files.

  • Fix the test in editor-mosaic-spect.ts which did check for this, but didn't test under enough different conditions.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.005%) to 94.587% when pulling 1caba92 on fix/null.getValue() into 97392be on master.

@ckerr ckerr merged commit 1477bd7 into master Jul 13, 2021
@ckerr ckerr deleted the fix/null.getValue() branch July 13, 2021 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: "TypeError: Cannot read property 'getValue' of null"
4 participants