grails 2.3.5 and spring security error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

grails 2.3.5 and spring security error

bilgehan
Hi,

After upgrading to Grails 2.3.5 from 2.3.4 and no other change, one of my applications started giving an url mapping error. Does anyone experienced similar problem?

spring-security-core 2.0 rc2
hibernate 3.6.16
tomcat 7.0.47

Message: URL mapping must either provide redirect information, a controller or a view name to map to!
   Line | Method
->>  53 | doFilter in grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
|    49 | doFilter in grails.plugin.springsecurity.web.authentication.RequestHolderAuthenticationFilter
|    82 | doFilter in grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter
|   895 | runTask  in java.util.concurrent.ThreadPoolExecutor$Worker
|   918 | run . .  in     ''
^   695 | run      in java.lang.Thread

Thanks
Bilgehan
Reply | Threaded
Open this post in threaded view
|

Re: grails 2.3.5 and spring security error

rlovtangen
Don't know if that's the reason, but did you change the UrlMappings according to release notes at <a href="http://grails.org/2.3.5 Release Notes">http://grails.org/2.3.5%20Release%20Notes ?

Replace this line

"/$controller/$action?/$id?(.${format})?"{

with

"/$controller/$action?/$id?(.$format)?"{


Ronny

On 04 Feb 2014, at 18:28, Bilgehan Maraş <[hidden email]> wrote:

Hi,

After upgrading to Grails 2.3.5 from 2.3.4 and no other change, one of my applications started giving an url mapping error. Does anyone experienced similar problem?

spring-security-core 2.0 rc2
hibernate 3.6.16
tomcat 7.0.47

Message: URL mapping must either provide redirect information, a controller or a view name to map to!
   Line | Method
->>  53 | doFilter in grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
|    49 | doFilter in grails.plugin.springsecurity.web.authentication.RequestHolderAuthenticationFilter
|    82 | doFilter in grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter
|   895 | runTask  in java.util.concurrent.ThreadPoolExecutor$Worker
|   918 | run . .  in     ''
^   695 | run      in java.lang.Thread

Thanks
Bilgehan

Reply | Threaded
Open this post in threaded view
|

Re: grails 2.3.5 and spring security error

bilgehan
I deleted the cache in .grails folder and it works fine now.

Thanks.

Bilgehan


On Tue, Feb 4, 2014 at 10:08 PM, Ronny Løvtangen <[hidden email]> wrote:
Don't know if that's the reason, but did you change the UrlMappings according to release notes at http://grails.org/2.3.5%20Release%20Notes ?

Replace this line

"/$controller/$action?/$id?(.${format})?"{

with

"/$controller/$action?/$id?(.$format)?"{


Ronny

On 04 Feb 2014, at 18:28, Bilgehan Maraş <[hidden email]> wrote:

Hi,

After upgrading to Grails 2.3.5 from 2.3.4 and no other change, one of my applications started giving an url mapping error. Does anyone experienced similar problem?

spring-security-core 2.0 rc2
hibernate 3.6.16
tomcat 7.0.47

Message: URL mapping must either provide redirect information, a controller or a view name to map to!
   Line | Method
->>  53 | doFilter in grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
|    49 | doFilter in grails.plugin.springsecurity.web.authentication.RequestHolderAuthenticationFilter
|    82 | doFilter in grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter
|   895 | runTask  in java.util.concurrent.ThreadPoolExecutor$Worker
|   918 | run . .  in     ''
^   695 | run      in java.lang.Thread

Thanks
Bilgehan