Vulnerability in EPiServer.Forms
We did an upgrade from CMS 11 to 12 and while the site is up and running, we have observed that for a couple of page types am not able to get to the CMS. There is error in DOJO and I tried debugging it and see following error.
On this page type I have a property ContentReference for HeroImage and in debugging this ModelPopulation.js I see that propertyMetadata for HeroImage is undefined and it errors out. Any inputs on what could I be missing and how to resolve this?
The error suggest that some property wasn't migrated properly. Have you checked so the content types don't have any dangling properties?
How does this look for the page types that are having issues? (Navigate to /EPiServer/EPiServer.Cms.UI.Admin/default#/ContentTypes)
Content type does have some dangling properties but the property (HeroImage) on which it is erroring out exists in code.
Found that there were some properties marked as JsonIgnore (along with HeroImage). On removing those attributes the issue got resolved and able to get into edit mode.
Sounds like this (now fixed) issue, I think?https://world.optimizely.com/documentation/Release-Notes/ReleaseNote/?releaseNoteId=CMS-30050
Fixed in: EPiServer.CMS.UI 12.22.7