I removed a ContentReference(UIHint.Image) property from code.
On the list of properties in admin mode for the specific block type it still says "From Code = Yes". No delete option on the the 3 dots ... only Preview.
If I select the block type it displays a banner on top that says (Note: I am not allowed to upload screen snippets.):"This property type was defined in code but the code is no longer available. You can either delete the property or save it to remove the connection to the code."
Everything else seems to be grayed out.
I have tried a restart of the application. Did not help.
Noticed after I had put Order on some Display Attributes that was already created that the Sort Order was not updated also. Newly added properties that had Sort Order was set correctly.I tried to bump build version (both file and assembly version) on the project but it didn't help.
This seems to be a bug in cms 12 - i'm having the same issues. May be some one from Optimizely team can provide more information.
yes this has been rasied before https://world.optimizely.com/forum/developer-forum/Problems-and-bugs/Thread-Container/2021/10/from-code-in-admincontenttypes-does-not-toggle-to-no-when-code-is-no-longer-available/ no word from Optimizely tho
Oh I did actually do a few searches to see if it was reported, but good the problem was bumped a bit ...I wonder if Optimizely even monitors this section because I would say that is a serious bug when also considering that other attributes are not chaning as well (sort order).
I'm seeing this across a couple projects in our organization too. Definitely not an isolated incident.
@Palle did you try leaving the stale properties in place, but hiding them from the CMS with the [Ignore] attribute, and hiding them from developers with the [Obsolete] attribute?
Fix is "In Progress" FYI, ticket is here: https://world.optimizely.com/support/Bug-list/bug/CMS-21398
Great! Any idea when EPiServer.CMS.Core 12.4.0 will be released?