Issue Details (XML | Word | Printable)

Key: GRAILSPLUGINS-1199
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Graham Bakay
Reporter: Landon Cheek
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Grails Plugins

If no action is specified and controller does not have an 'index' action, plugin redirects inappropriately

Created: 29/May/09 11:46 AM   Updated: 16/Sep/09 04:41 PM   Resolved: 16/Sep/09 04:41 PM
Component/s: Grails-Crowd
Affects Version/s: Grails-Crowd 0.4
Fix Version/s: Grails-Crowd 0.5

Time Tracking:
Not Specified

File Attachments: 1. Text File CrowdAuthSecurityFilters.patch (1 kB)


Patch Submitted: Yes


 Description  « Hide

If no action is specified in a request URL (for example, http://serverURL/grailsApp/someController), the plugin incorrectly assumes that the appropriate action for a redirect after login is the 'index' action. If the controller does not have an index action, this results in a 404 error.

The CrowdAuthSecurityFilters.groovy should be using the defaultAction attribute of the controller class to ensure proper redirects in this situation. I've included a patch to correct the errant behaviour.



There are no comments yet on this issue.