Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grails 4 upgrade has the PreQueryListener no longer registering #4

Open
niravassar opened this issue Feb 26, 2019 · 0 comments
Open

Comments

@niravassar
Copy link
Collaborator

I have upgraded this plugin to Grails 4. I generated a web-plugin with grails 4 installation and looked at the diff of the build.gradle for the old and new and integrated the changes. There is not much.

I ran a bootRun and it compiled fine.

However the gradlew check on all of tests almost. I did some debugging and the PreQueryListener which intercepts the gorm calls is not getting hit in any query with a breakpoint. This occurs in 3.3.x grails obviously. I see in Gorm 7.0 it is the same class and same package as in Gorm 6.1.8. I am at a loss why this would not fire the same event and register. I changed the grails 4 version for kicks to have gormVersion=6.1.8.RELEASE but to no avail as well.

I gather there is some underlying grails change that is contributing to the existing implementation of this plugin not working.

@niravassar niravassar changed the title Grails 4 upgrade has the PreQuery Listener no longer registering Grails 4 upgrade has the PreQueryListener no longer registering Feb 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant