Using g:render with model attribute set inside f:with tags throws java.util.EmptyStackException
Open
relates-to: grails-fields
- Dominant language
- Groovy
- Stars
- 2.9k
- Forks
- 975
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 92
Description
```
throws excepstion at:
Around line 80 of grails-app/taglib/grails/plugin/formfields/FormFieldsTagLib.groovy
77: beanStack.push(beanPrefix)
78: out << body()
79: } finally {
80: beanStack.pop()
81: }
82: }
```
Contributor guide
Research direction
Start with the reproduction using f:with and g:render, then inspect grails-app/taglib/grails/plugin/formfields/FormFieldsTagLib.groovy around lines 77-81, where beanStack is pushed, used, and popped. Confirm the EmptyStackException and determine what behavior should prevent it; done means the example renders without that exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- groovy
- Domain
- backend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100