Skip to content

[WC-3284] Fix crash in number filter with saved attribute#2109

Merged
r0b1n merged 1 commit intomainfrom
fix/crash-on-saving-filter-values
Feb 27, 2026
Merged

[WC-3284] Fix crash in number filter with saved attribute#2109
r0b1n merged 1 commit intomainfrom
fix/crash-on-saving-filter-values

Conversation

@r0b1n
Copy link
Collaborator

@r0b1n r0b1n commented Feb 20, 2026

Pull request type

Bug fix (non-breaking change which fixes an issue)

Description

Looks like setValue crashes on frozen BigJs object, but apparently mobx computeds produce those frozen objects at some moment. Make sure we pass fresh untied instance to setValue.

Likely because of some mobx magic the object returned by computed is frozen at times.
And this leads to internal crashes in the framework.
Prevent this bu passing fresh object to setValue
@r0b1n r0b1n merged commit 4fb97be into main Feb 27, 2026
14 of 15 checks passed
@r0b1n r0b1n deleted the fix/crash-on-saving-filter-values branch February 27, 2026 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants