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

Unable to use grailsChange in changelog with liquibase >= 4 #304

Closed
cgoIT opened this issue Sep 27, 2022 · 0 comments · Fixed by #321
Closed

Unable to use grailsChange in changelog with liquibase >= 4 #304

cgoIT opened this issue Sep 27, 2022 · 0 comments · Fixed by #321

Comments

@cgoIT
Copy link

cgoIT commented Sep 27, 2022

With version 4.1.0 (liquibase version 4.16.0) of this plugin I can't use the grailsChange closure. Using this closure in a changelog leads to the message

As of Liquibase 4.0, cannot set resource accessor on org.grails.plugins.databasemigration.liquibase.GroovyChange. Must add it to the Scope
during the startup.

I think this is because of this line

Simply removing this line works for me. If this is the desired solution I can provide a PR.

verglor added a commit to verglor/grails-database-migration that referenced this issue Apr 24, 2023
verglor added a commit to verglor/grails-database-migration that referenced this issue Apr 24, 2023
puneetbehl pushed a commit to verglor/grails-database-migration that referenced this issue Jun 27, 2023
puneetbehl pushed a commit that referenced this issue Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant