Comments (7)
It looks like it's trying to run Bootstrap.groovy. I tried a grails dbm-drop-all
and it prints out my Bootstrap logs and fails because the scripts I have running in Bootstrap are failing.
from grails-database-migration.
This isn't restricted to Spring-Security. I have a database seed that only runs when the environment is Environment.DEVELOPMENT
, and it tries to seed on any dbm* command.
This means that when I change a domain that gets seeded I have to go to my SeederBootStrap.groovy
and comment everything out.
from grails-database-migration.
Will this ever be fixed?
from grails-database-migration.
I'm going to close this and create a more descriptive issue, which is a feature request in grails-core to allow commands to skip the Bootstrap process
from grails-database-migration.
Relevant issue grails/grails-core#10022
from grails-database-migration.
i guess #78 can be closed then as well?
from grails-database-migration.
@ctoestreich I'm having the a similar problem calling User.encodePassword() from within a dbm changeSet. The springsecurityservice bean used for encoding is not injected into User in grails 3.1, but it was injected properly in grails 2.5.5 during dbm-update
How did you get past this issue? Remove the migration and add the admin user via Bootstrap.groovy?
Grails 3.1.14
database-migration:2.0.0
spring-security-core:3.1.1
from grails-database-migration.
Related Issues (20)
- dbm-gorm-diff fails (Grails4/Gradle 5.6.4 and plugin version 3.1.0) HOT 4
- EnversService#initialize should be called only once HOT 2
- Action Required: Fix Renovate Configuration
- 4.0.0-RC1 missing dependencies HOT 3
- Missing several commands
- dbm-generate-gorm-changelog and dbm-generate-changelog both fail to generate the correct byte array MySQL type HOT 10
- migration scripts not working with Grails 5.0.3 HOT 1
- The links to the documentation are not working HOT 2
- Grails 5.1.1 broken: No such property: instance for class: liquibase.servicelocator.ServiceLocator HOT 3
- Exception deploying war in tomcat with version 4.0.0 HOT 4
- derby.log is created after upgrading 4.0.0 HOT 2
- | Error Command not found dbm-register-changelog HOT 1
- dbm-gorm-diff fails on multiproject build HOT 1
- Exception deploying war in tomcat with version 4.1.0 HOT 1
- Unable to generate liquibase XML using the filename extension
- Unable to use grailsChange in changelog with liquibase >= 4
- Upgrade to v4.18.0 of liquibase-hibernate HOT 1
- NoClassDefFoundError since Liquibase 4.20.0 HOT 1
- None of the dbm-scripts are working with grails 6. HOT 3
- Migration not working with Grails 6 on Tomcat 9 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grails-database-migration.