I was getting a persistent error that a physical template file could not be found a particular document type. This I assumed was because some nodes did not have a template assigned. The name of the default template was NOT the same as the doc type alias... SO, I created a copy of my template and named it the same as the doc type alias, and lo and behold, the error went away.
So question is: does Umbraco "fall back" to a view that matches the document type alias if there is no assigned template for a content item?
you need assing template in umbraco backoffice and resave node again, another option you can add rendermvccontroller for this doctype and return your template
Yes, I understand that, HOWEVER, if you don't assign a template, it seems Umbraco will fall back to any view that matches the doc type alias. In fact, I confirmed this. I've never seen it documented but it's helpful to me so was just sharing it and asking for confirmation if it's intended.
Default Template for Unassigned Content, v8
I was getting a persistent error that a physical template file could not be found a particular document type. This I assumed was because some nodes did not have a template assigned. The name of the default template was NOT the same as the doc type alias... SO, I created a copy of my template and named it the same as the doc type alias, and lo and behold, the error went away.
So question is: does Umbraco "fall back" to a view that matches the document type alias if there is no assigned template for a content item?
you need assing template in umbraco backoffice and resave node again, another option you can add rendermvccontroller for this doctype and return your template
Yes, I understand that, HOWEVER, if you don't assign a template, it seems Umbraco will fall back to any view that matches the doc type alias. In fact, I confirmed this. I've never seen it documented but it's helpful to me so was just sharing it and asking for confirmation if it's intended.
is working on a reply...