cuba icon indicating copy to clipboard operation
cuba copied to clipboard

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

Open knstvk opened this issue 3 years ago • 0 comments

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 avatar Sep 07 '22 14:09 knstvk