codeconsole opened a new issue, #14814:
URL: https://github.com/apache/grails-core/issues/14814

   ### 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
   ```groovy
   class UserController {
        static namespace = 'myplugin'
   
        def index() {}
   }
   ```
   
   grails-app/controllers/UserController
   ```groovy
   class UserController {
        def index() {}
   }
   ```
   
   UrlMappings .groovy
   ```
   "/$controller/$action?/$id?(.$format)?"
   ```
   
   grails bootRun
   http://localohost/user/index -> grails-app/controllers/UserController.index
   
   grails bootJar
   java -jar buiild/.../sample.jar
   http://localohost/user/index 
->plugin/grails-app/controllers/UserController.index
   
   
   
   
   
   ### Actual Behaviour
   
   _No response_
   
   ### Steps To Reproduce
   
   _No response_
   
   ### Environment Information
   
   _No response_
   
   ### Example Application
   
   _No response_
   
   ### Version
   
   7.0.0-M4


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to