After upgrading an existing site from Webforms to MVC we see this error in the logs.Site site seems to work, so I am wondering if the errors can be ignored?
We did change the properties from PageReference to ContentReference
ERROR  EPiServer.DataAbstraction.RuntimeModel.Internal.ContentTypeModelRegister - Detected change of type on property [PROPERTYNAME] on [CONTENTTYPENAME]. Converting existing content of type EPiServer.Core.PropertyPageReference to new backing type EPiServer.Core.PropertyContentReference is not possible without loss of data. No change is commited.
Before you ignore it check the Content type definition in CMS admin.
If you still have a property with PageReference there you should write a migration to move the data to a new property of contentreference and then drop the old property.
I think it will still function as a PageReference because episerver have rejected your change but if you attempt to add a reference to a content that isn't a page I don't know what will happen.
Instead of ignoring I would rather revert the change since otherwise you will have the database out of sync with your content models, which will most likely mean trouble somewhere down the road.
Thanks Erik, I ended up changing back to PageReference since it will all be pages and that minimize the effort as well.Thanks