Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Static Scaffolding Not Respecting Custom Templates #10094

Closed
4 tasks
KymPohl opened this issue Aug 10, 2016 · 1 comment
Closed
4 tasks

Static Scaffolding Not Respecting Custom Templates #10094

KymPohl opened this issue Aug 10, 2016 · 1 comment

Comments

@KymPohl
Copy link

KymPohl commented Aug 10, 2016

I submitted this issue over on the 'scaffolding' plugin but I'm not exactly sure if 'static' scaffolding is being handled by the plugin, or grails itself. But in any case, the issue is with the static scaffolding facility apparently not respecting customized templates (please see 'steps to reproduce' section)

Task List

  • Steps to reproduce provided
  • Stacktrace (if present) provided
  • Example that reproduces the problem uploaded to Github
  • Full description of the issue provided (see below)

Steps to Reproduce

  1. grails install-templates
  2. modify one of the installed templates (e.g., src/main/templates/scaffolding/index.gsp)
  3. grails generate-views
  4. inspect generated gap files (e.g., views/.../index.gsp

Expected Behavior

generated index.gsp file should be in terms of the modified template

Actual Behaviour

generated index.gsp file was solely based on grails-internal template, not the modified one

Environment Information

  • Operating System: OS X (latest)
  • Grails Version: 3.1.10
  • JDK Version: 1.8
@jeffscottbrown
Copy link
Member

I submitted this issue over on the 'scaffolding' plugin but I'm not exactly sure if 'static' scaffolding is being handled by the plugin, or grails itself.

It is handled by the plugin.

I think this is a duplicate of grails/scaffolding#22.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants