acegi plugin user registration

View: New views
2 Messages — Rating Filter:   Alert me  

acegi plugin user registration

by Michael Masters :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm using the acegi plugin and I have everything working, but I
haven't set up the user registration. Can anyone enlighten me what the
following output is telling me?

 mmasters@mojo $ grails generate-registration
Welcome to Grails 1.1.1 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: /Users/mmasters/Local/grails

Base Directory: /Users/mmasters/Projects/flashcards
Running script /Users/mmasters/.grails/1.1.1/projects/flashcards/plugins/acegi-0.5.2/scripts/GenerateRegistration.groovy
Environment set to development
Warning, target causing name overwriting of name default
Error executing script GenerateRegistration:
groovy.lang.MissingMethodException: No signature of method:
groovy.util.ConfigObject.lastIndexOf() is applicable for argument
types: (java.lang.String) values: [.]
gant.TargetExecutionException: groovy.lang.MissingMethodException: No
signature of method: groovy.util.ConfigObject.lastIndexOf() is
applicable for argument types: (java.lang.String) values: [.]
        at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:331)
        at gant.Gant$_dispatch_closure6.doCall(Gant.groovy:334)
        at gant.Gant$_dispatch_closure6.doCall(Gant.groovy)
        at gant.Gant.withBuildListeners(Gant.groovy:344)
        at gant.Gant.this$2$withBuildListeners(Gant.groovy)
        at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)
        at gant.Gant.dispatch(Gant.groovy:334)
        at gant.Gant.this$2$dispatch(Gant.groovy)
        at gant.Gant.invokeMethod(Gant.groovy)
        at gant.Gant.processTargets(Gant.groovy:495)
        at gant.Gant.processTargets(Gant.groovy:480)
Caused by: groovy.lang.MissingMethodException: No signature of method:
groovy.util.ConfigObject.lastIndexOf() is applicable for argument
types: (java.lang.String) values: [.]
        at _SecurityTargets_groovy$_run_closure4.doCall(_SecurityTargets_groovy:106)
        at _SecurityTargets_groovy$_run_closure7.doCall(_SecurityTargets_groovy:123)
        at _SecurityTargets_groovy$_run_closure3.doCall(_SecurityTargets_groovy:99)
        at _SecurityTargets_groovy$_run_closure3.doCall(_SecurityTargets_groovy)
        at GenerateRegistration$_run_closure1.doCall(GenerateRegistration:30)
        at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:324)
        ... 10 more

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: acegi plugin user registration

by Michael Masters :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Looks like this was caused by not having requestMapClass set in

grails-app/conf/SecurityConfig.groovy


On Mon, Nov 2, 2009 at 9:38 PM, Michael Masters <mmasters@...> wrote:

> I'm using the acegi plugin and I have everything working, but I
> haven't set up the user registration. Can anyone enlighten me what the
> following output is telling me?
>
>  mmasters@mojo $ grails generate-registration
> Welcome to Grails 1.1.1 - http://grails.org/
> Licensed under Apache Standard License 2.0
> Grails home is set to: /Users/mmasters/Local/grails
>
> Base Directory: /Users/mmasters/Projects/flashcards
> Running script /Users/mmasters/.grails/1.1.1/projects/flashcards/plugins/acegi-0.5.2/scripts/GenerateRegistration.groovy
> Environment set to development
> Warning, target causing name overwriting of name default
> Error executing script GenerateRegistration:
> groovy.lang.MissingMethodException: No signature of method:
> groovy.util.ConfigObject.lastIndexOf() is applicable for argument
> types: (java.lang.String) values: [.]
> gant.TargetExecutionException: groovy.lang.MissingMethodException: No
> signature of method: groovy.util.ConfigObject.lastIndexOf() is
> applicable for argument types: (java.lang.String) values: [.]
>        at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:331)
>        at gant.Gant$_dispatch_closure6.doCall(Gant.groovy:334)
>        at gant.Gant$_dispatch_closure6.doCall(Gant.groovy)
>        at gant.Gant.withBuildListeners(Gant.groovy:344)
>        at gant.Gant.this$2$withBuildListeners(Gant.groovy)
>        at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)
>        at gant.Gant.dispatch(Gant.groovy:334)
>        at gant.Gant.this$2$dispatch(Gant.groovy)
>        at gant.Gant.invokeMethod(Gant.groovy)
>        at gant.Gant.processTargets(Gant.groovy:495)
>        at gant.Gant.processTargets(Gant.groovy:480)
> Caused by: groovy.lang.MissingMethodException: No signature of method:
> groovy.util.ConfigObject.lastIndexOf() is applicable for argument
> types: (java.lang.String) values: [.]
>        at _SecurityTargets_groovy$_run_closure4.doCall(_SecurityTargets_groovy:106)
>        at _SecurityTargets_groovy$_run_closure7.doCall(_SecurityTargets_groovy:123)
>        at _SecurityTargets_groovy$_run_closure3.doCall(_SecurityTargets_groovy:99)
>        at _SecurityTargets_groovy$_run_closure3.doCall(_SecurityTargets_groovy)
>        at GenerateRegistration$_run_closure1.doCall(GenerateRegistration:30)
>        at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:324)
>        ... 10 more
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email