I created a custom content type and provisioned it as a solution for SharePoint 2013 (PU March). When I create a new page in a list, bam yellow page of death.
To rule out an error I created a custom content type with the UI - inherits from article page with no additional fields. Then I added it to a document library. After assigning a name to the new page and submitting the form => yellow page of death with the following stack:
System.ArgumentException: Value does not fall within the expected range.
at Microsoft.SharePoint.Utilities.SPUtility.CreateParentFoldersForFile(SPList list, String url, Boolean createAsListItem)
at Microsoft.SharePoint.Publishing.Internal.CodeBehind.CreatePagePage.NewPageItemSave(String pageName, PageLayout pageLayout, String folderUrl, Boolean redirect)
at Microsoft.SharePoint.Publishing.Internal.CodeBehind.CreatePagePage.CreateStandardPage(String pageName)
at Microsoft.SharePoint.Publishing.Internal.CodeBehind.CreatePagePage.ButtonCreatePage_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Any clues?
Update1: When the parent of the content type is an article page it crashes. When the parent is a Basic Page it works.