Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.0-RC3
-
Fix Version/s: None
-
Component/s: Controllers
-
Labels:
Description
The behavior of redirect to an non existing action is inconsistent. See example below.
TestController.groovy
package foo class TestController { def foo() { redirect(action: noaction) // hangs //redirect(action: "noaction") // returns 404 error code, correct semantically //redirect(action:'bar') // works correctly //redirect(action:bar) // hangs, notice no quotes aroud bar } def bar() { render "bar action" } }
It would be nice if instead of hanging it explicitly failed with an exception.
Activity
- All
- Comments
- Work Log
- History
- Activity
- Git Commits