Try our conversational search powered by Generative AI!

CMS12: Cannot delete property that once was in code

Vote:
 

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.

[UPDATE]

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.

#270464
Edited, Jan 24, 2022 16:12
Vote:
 

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.

#270505
Jan 24, 2022 23:47
Vote:
 

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).

#270603
Jan 26, 2022 17:03
Scott Reed - Jan 26, 2022 18:06
yes they do but I'd also register it with Optimizely support so it's officially logged
- Jan 27, 2022 9:14
Oh yes ... did that already ... :)
Vote:
 

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?

#270768
Jan 28, 2022 13:57
Vote:
 

Fix is "In Progress" FYI, ticket is here: https://world.optimizely.com/support/Bug-list/bug/CMS-21398

#270980
Feb 01, 2022 20:06
Vote:
 

Great! Any idea when EPiServer.CMS.Core 12.4.0 will be released?

#272226
Feb 15, 2022 14:59
Vote:
 

Today! https://nuget.optimizely.com/package/?id=EPiServer.CMS.Core

#272733
Feb 22, 2022 14:55
Vote:
 

Hi All.

I am using EPiServer.CMS(12.9.0)  but the issue is still exist and we are not able to delete the unused property after removing from code.

#284891
Aug 03, 2022 20:53
Johan Petersson - Aug 30, 2022 16:19
Are you receiving any errors? Are the properties in use by content, including content in the trash bin?
Sanjay Kumar - Sep 01, 2022 10:34
Yes, I was getting 500 errors in the response on my local environment few days ago but it's working now, not sure it is fixed after updating EPiServer.CMS.UI 12.10.0.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.