Giter Site home page Giter Site logo

Comments (7)

bwagner5 avatar bwagner5 commented on June 18, 2024

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.

KerchumA222 avatar KerchumA222 commented on June 18, 2024

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.

KerchumA222 avatar KerchumA222 commented on June 18, 2024

Will this ever be fixed?

from grails-database-migration.

jameskleeh avatar jameskleeh commented on June 18, 2024

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.

jameskleeh avatar jameskleeh commented on June 18, 2024

Relevant issue grails/grails-core#10022

from grails-database-migration.

zyro23 avatar zyro23 commented on June 18, 2024

i guess #78 can be closed then as well?

from grails-database-migration.

edwardotis avatar edwardotis commented on June 18, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.