Issue Details (XML | Word | Printable)

Key: GRAILS-2550
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Graeme Rocher
Reporter: Marc Palmer
Votes: 0
Watchers: 0
Operations

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

Taglib namespaces are resolved before actions in controllers

Created: 28/Feb/08 09:39 AM   Updated: 14/Mar/08 07:24 AM
Component/s: None
Affects Version/s: 1.0.1
Fix Version/s: 1.0.2

Time Tracking:
Not Specified


 Description  « Hide
This emerged through reports of problems with the feeds plugin. If you install the feeds plugin into an app, you cannot have a controller called "feed" because the taglib from the plugin is in the "feed" namespace - you get an exception:

java.lang.ClassCastException: org.codehaus.groovy.grails.web.taglib.NamespacedTagDispatcher
at org.codehaus.groovy.grails.web.servlet.mvc.SimpleGrailsControllerHelper.executeAction(SimpleGrailsControllerHelper.java:382)
at org.codehaus.groovy.grails.web.servlet.mvc.SimpleGrailsControllerHelper.handleURI(SimpleGrailsControllerHelper.java:237)
at org.codehaus.groovy.grails.web.servlet.mvc.SimpleGrailsControllerHelper.handleURI(SimpleGrailsControllerHelper.java:153)
at org.codehaus.groovy.grails.web.servlet.mvc.SimpleGrailsController.handleRequest(SimpleGrailsController.java:88)
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Graeme Rocher added a comment - 14/Mar/08 07:24 AM
fixed