-
-
Notifications
You must be signed in to change notification settings - Fork 962
Open
Milestone
Description
Expected Behavior
This worked fine prior but broke M4. If you have a plugin with a controller, it takes priority over the controller with the same name even if it is in a different namespace IF you run a jar. If you run via bootRun, it works fine.
plugin/grails-app/controllers/UserController
class UserController {
static namespace = 'myplugin'
def index() {}
}
grails-app/controllers/UserController
class UserController {
def index() {}
}
UrlMappings .groovy
"/$controller/$action?/$id?(.$format)?"
grails bootRun
http://localhost/user/index -> grails-app/controllers/UserController.index
grails bootJar
java -jar build/.../sample.jar
http://localhost/user/index ->plugin/grails-app/controllers/UserController.index
Version
7.0.0-M4
Metadata
Metadata
Assignees
Type
Projects
Status
No status