U4-4739 - Friendly support for ContentPlaceHolder errors (template editor)

Created by Arie 22 Apr 2014, 16:07:09 Updated by Shannon Deminick 26 Jun 2017, 05:38:46

Currently if a user neglects to include all (inherited) ContentPlaceHolder the result is a YSOD. To get the details on the error the user would either have to be able to access the system logs, have access to the server (to access the page from there), or the error should be publicly visible.

It would be tremendously helpful if ContentPlaceHolder errors could result in friendly feedback to the person who is working on the template. Maybe through intercepting the error, or perhaps by including a feature to validate the template (much like Razor code is validated prior to saving).

Here's an example of the error:

Cannot find ContentPlaceHolder 'ContentPlaceHolderDefault' in the master page '/masterpages/ContentPage.master', verify content control's ContentPlaceHolderID attribute in the content page.

Comments

Shannon Deminick 26 Jun 2017, 05:38:47

Closing issue due to inactivity - see blog post for details https://umbraco.com/blog/issue-tracker-cleanup/


Priority: Normal

Type: Feature (request)

State: Closed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version:

Sprint:

Story Points:

Cycle: