jamesfredley commented on issue #14536: URL: https://github.com/apache/grails-core/issues/14536#issuecomment-5977696402
A discriminator multitenant query on a joined subclass (`tablePerHierarchy false`) put `tenant_id` on the child table alias, and the database rejected `this_.tenant_id`. `MultiTenantFilterBinder.shouldApplyFilter` does not add that filter when the tenant column is on the root table. `MultiTenantFilterBinderSpec` covers the joined subclass. Commit `20762d8e0d` is on `8.0.x`, `8.1.x`, and `9.0.x`, and it is in 8.0.0-RC2. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
