Try our conversational search powered by Generative AI!

Duplicated properties when changing type

Vote:
 

Hello all,

We have a problem where we get duplicates of properties in edit mode when we change the type of the property in the model.
Does anyone have a solution for this?

Best regards,
Jon

#79031
Dec 06, 2013 16:22
Vote:
 

How are you changing the type and from which type to which type?

Frederik

#79039
Dec 06, 2013 18:07
Vote:
 

Hi Frederik,


We changed it from (Episerver) Url to (ImageVault.Episerver) MediaReference in code.


// Jon

#79100
Edited, Dec 09, 2013 15:37
Vote:
 

I'm not sure how ImageVault is serializing the property value, but I guess they're not similar. There are some rules you need to follow, see this article: Refactoring Content Type Classes (under Changing the Type of a Property).

Frederik

#79101
Dec 09, 2013 15:42
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.