generate-view didnot copy the customized GSP pages
- Dominant language
- Groovy
- Stars
- 2.9k
- Forks
- 975
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 92
Description
In 3.1.9, I added new template pages like ( Search.gsp and _search.gsp).
After executed command generate-view au.com.bglcorp.sso.auth.SsoUser -force
It only created standard pages.
| Rendered template edit.gsp to destination grails-app/views/ssoUser/edit.gsp
| Rendered template create.gsp to destination grails-app/views/ssoUser/create.gsp
| Rendered template index.gsp to destination grails-app/views/ssoUser/index.gsp
| Rendered template show.gsp to destination grails-app/views/ssoUser/show.gsp
| Views generated for grails-app/domain/au/com/bglcorp/sso/auth/SsoUser.groovy
In grails 2.5.4, all customized pages will be copied into domain's view folder.
Contributor guide
Research direction
Reproduce the issue with the generate-view command for au.com.bglcorp.sso.auth.SsoUser, using customized Search.gsp and _search.gsp pages. Compare the generated output with the listed standard pages and the Grails 2.5.4 behavior; done means customized GSP pages are copied into the domain's view folder.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- groovy
- Domain
- backend, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100