The FilterJoinTable annotation does not seem to be repecting 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
|
|