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

Second condition with a particular session attribute in a Filter configuration does not work #3281

Open
knstvk opened this issue Sep 7, 2022 · 0 comments
Labels
type: bug Something isn't working

Comments

@knstvk
Copy link
Member

knstvk commented Sep 7, 2022

Environment

  • Platform version: 7.2.19

Description of the bug or enhancement

Only one condition with a particular session attribute in a Filter configuration works. See the attached project for an example.
filtertest.zip

The cause is in the FilterDelegateImpl.LoaderAdapter#refreshIfNotSuspended method: queryFilter.getCompiledParameters() returns a single entry (first) for both occurrences of of the parameter, and only this entry is updated with parameterInfo.setType(ParameterInfo.Type.NONE) instead of both.

@knstvk knstvk added the type: bug Something isn't working label Sep 7, 2022
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

No branches or pull requests

1 participant