grails/grails-gsp

'Template not found' sticky even after creation of .gsp file till application restart.

mkrasuski opened this issue · 0 comments

Steps to Reproduce

in development mode

  1. call <g:render template="newTemplate"></g:render> somewhere on existing page without creating _newTemplate.gsp
  2. run code - 'Template not found' will arise
  3. create relevant _newTemplate.gsp
  4. run code again - 'Template not found' is sticky

Expected Behaviour

After creation of template file template should be compiled and rendered.

Actual Behaviour

Error of non-existing template is sticky till restart of application. That's VERY annoying

Environment Information

  • Operating System: Linux
  • Grails Version: 3.3
  • JDK Version: 1.8
  • Container Version (If Applicable): TODO

Example Application

error situation is dynamic, so hard to prepare sample