umbraco / Umbraco-CMS

Umbraco is a free and open source .NET content management system helping you deliver delightful digital experiences.
https://umbraco.com
Other
4.49k stars 2.69k forks source link

V8: templates created through "Create matching template" does not use ModelsBuilder #5152

Closed nielslyngsoe closed 5 years ago

nielslyngsoe commented 5 years ago

Reproduce: Create a documentType without a template and then choose to "Create matching template" in the template tab.

The template generated will not be using models builder.

DocumentTypes created with a template does get ModelBuilder.

Screenshot of "Create matching template"-button. image

kjac commented 5 years ago

I've done a bit of digging on this one. Seems doable with a bit of a rewrite... I'll push a PR later today, if all goes according to plan.

kjac commented 5 years ago

PR in #5178