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 filter values for non-interned strings #2784

Merged
merged 1 commit into from
Oct 6, 2024
Merged

Conversation

texodus
Copy link
Member

@texodus texodus commented Oct 6, 2024

Fixes a bug introduced In 3.0.0 and introduces two tests (one of which fails pre-fix).

In this version, the translation layer between a domain-language ViewConfig (Python dict or JavaScript Object) was rewritten and ported to C++, in which we neglected to accommodate for t_tscalar's SSO optimization which inlines string under 13 characters. As this type is used for a filter parameter's term component, this leads to a dangling pointer error when the get_view_config() public method was invoked with a filter value above this limit.

Fixes #2781

@texodus texodus added the bug Concrete, reproducible bugs label Oct 6, 2024
@texodus texodus merged commit 13b26d7 into master Oct 6, 2024
11 checks passed
@texodus texodus deleted the fix-filter-interned branch October 6, 2024 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Concrete, reproducible bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Perspective Viewer not updating when group by and filter is applied
1 participant