Skip to content

Comments

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

Open
r0b1n wants to merge 1 commit intomainfrom
fix/crash-on-saving-filter-values
Open

[WC-3284] Fix crash in number filter with saved attribute#2109
r0b1n wants to merge 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
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.

1 participant