We're updating the issue view to help you get more done. 

FilterJoinTable does not to use the defualt condition

Description

The FilterJoinTable annotation does not seem to be respecting the default condition set in the FilterDef annotation.

I have created a simple test project to demonstrate this (attached). This has a User -> Service relationship where on the join table I am storing information (the hasAccess boolean) about if the user has access to the service and using FilterJoinTable to filter this list of users.

The tests checks two fields both annotated with FilterJoinTables are equal where one uses the default condition and one redefines the condition. As you will see the default condition is not applied.

I have raised this bug as minor as the workaround is to reapply the condition per annotation.

I have tried this in the latest stable and development releases.

Please let me know if you need any more information.

David

Environment

Java 8, Windows, in-memory DB

Status

Assignee

Unassigned

Reporter

David Blaney

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

5.4.3
6.0.0.Alpha2

Priority

Minor