cuba
cuba copied to clipboard
Second condition with a particular session attribute in a Filter configuration does not work
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.