Umbraco blog issue after upgrading from 4.9 to 4.11.8
I am haveing issue creating a blog doctype in my contect after the upgrade. I am getting
Object reference notset to an instance of an object.
Description:An unhandled exception occurred during the execution of the current web request.Please review the stack trace for more information about the error andwhere it originated in the code.
ExceptionDetails:System.NullReferenceException:Object reference notset to an instance of an object.
SourceError:
An unhandled exception was generated during the execution of the current web request.Information regarding the origin and location of the exception can be identified using the exception stack trace below.
StackTrace:
[NullReferenceException:Object reference notset to an instance of an object.] umbraco.cms.businesslogic.property.Property.MakeNew(PropertyType pt,Content c,Guid versionId)+324 umbraco.cms.businesslogic.Content.createNewVersion(DateTime versionDate)+632 umbraco.cms.businesslogic.Content.CreateContent(ContentType ct)+217 umbraco.cms.businesslogic.web.Document.MakeNew(StringName,DocumentType dct,User u,Int32ParentId)+380 umbraco.contentTasks.Save()+113 umbraco.presentation.create.dialogHandler_temp.Create(StringNodeType,Int32TypeId,Int32NodeId,StringText)+371 umbraco.cms.presentation.create.controls.content.doCreation()+160 umbraco.cms.presentation.create.controls.content.sbmt_Click(Object sender,EventArgs e)+5 System.Web.UI.WebControls.Button.OnClick(EventArgs e)+9552602 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)+103 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)+10 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl,String eventArgument)+13 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)+35 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint,Boolean includeStagesAfterAsyncPoint)+1724
I have updated two file in the config folder: xsltExtensions.config and restExtensions.config but it's still doen't work.
System.Data.SqlClient.SqlException (0x80131904): The DELETE statement conflicted with the REFERENCE constraint "FK_cmsPropertyData_cmsPropertyType". The conflict occurred in database "activenetupgrade", table "dbo.cmsPropertyData", column 'propertytypeid'.
Found out that I can't create a Blog document type beacuse I was missing a "userpicker" after I added the uComponents package and changed the data type I was finally able to create a blog.
Umbraco blog issue after upgrading from 4.9 to 4.11.8
I am haveing issue creating a blog doctype in my contect after the upgrade. I am getting
I have updated two file in the config folder: xsltExtensions.config and restExtensions.config but it's still doen't work.
When I try to delete the "Blog" document type I get the following message:
Any Idea? do I need to change something in the DB tables?
this is what I got in the log file:
Any ideas?
Thanks to this forum post and this blog post, I have finally foun and fixed the issue :)
I needed to add a cascade rule for the:
FK_cmsPropertyData_cmsPropertyType
and that did the trick
Found out that I can't create a Blog document type beacuse I was missing a "userpicker" after I added the uComponents package and changed the data type I was finally able to create a blog.
is working on a reply...