Error causing the application to restart after a doc type change
Hi All
I am working on a site in Umbraco 7.4.3 but on a regular basis after returning to the site after making a change to a doc type I get the following error
Cannot bind source content type Umbraco.Web.PublishedContentModels.HomePage to model content type Umbraco.Web.PublishedContentModels.HomePage. Types come from two PureLive assemblies with different versions, this usually indicates that the application is in an unstable state. The application is restarting now, reload the page and it should work.
If I refresh the page then the site returns back to normal and can run fine until another change it made to a doc type.
essentially it seemed the document type change correctly triggers the pure live models to generate, but not the views that use them, so you get two versions of the same model existing at the same time.
Recycling the app pool causes the views to recompile, bring the site up.
there was a part fix in 7.4.2 that didn't fully fix it, and spawned this follown on issue:
Error causing the application to restart after a doc type change
Hi All
I am working on a site in Umbraco 7.4.3 but on a regular basis after returning to the site after making a change to a doc type I get the following error
If I refresh the page then the site returns back to normal and can run fine until another change it made to a doc type.
Does anyone have any idea what is causing this?
Thanks
Ben
Hi BEWD
Yes this is an issue with the Models builder and Pure Live Models in 7.4.x
http://issues.umbraco.org/issue/U4-8043
essentially it seemed the document type change correctly triggers the pure live models to generate, but not the views that use them, so you get two versions of the same model existing at the same time.
Recycling the app pool causes the views to recompile, bring the site up.
there was a part fix in 7.4.2 that didn't fully fix it, and spawned this follown on issue:
http://issues.umbraco.org/issue/U4-8210
which is reportedly fixed in v7.5
regards
marc
Excellent cheers Marc, its good news to know that it was not something that I had done wrong in my build.
I will look at doing my first Umbraco upgrade from 7.4.3 to 7.5.2 to see if that helps.
Any tips?
Hi BEWD
The upgrading info is generally pretty much all here:
https://our.umbraco.org/documentation/getting-started/setup/upgrading/general
main thing back up your db and files!!
and if your site is live, do the upgrade on a copy of the site first, to make sure everything works!!
regards
Marc
It looks like this error is back in v8. I am getting the same error every time I make a doctype change as well (just has my doctype alias in it).
I'm seeing this in V8 also
Hi Blake & Graeme
I can as well confirm that I am again receiving this error in 8.0.2
Ben
I've upgraded to 8.1 and no longer have this issue.
is working on a reply...