grails-core
grails-core copied to clipboard
grails.artefact.controller.support.ResponseRenderer fails when application calls render (plugin: XXX, view: YYY). Works for render(plugin:XXX, template:yyy)
Expected Behavior
render (plugin: XXX, view: YYY) should work, however the code path in grails.artefact.controller.support.ResponseRenderer.render is different and for a view the code goes looking a view using a url that include a plugin projects "version" - which is usually "unspecified"
Workaround seems to be to rename a view to have an underscore and use the render (plugin: xxx, template: yyy) form instead.
Actual Behaviour
Get an error
Steps To Reproduce
No response
Environment Information
No response
Example Application
No response
Version
5.1.2