U4-4764 - Remove support for PropertyValueEditor.ConvertDbToString/ToXml

Created by Stephan 26 Apr 2014, 09:27:28 Updated by Shannon Deminick 26 Jun 2017, 05:38:46

As of v7 PropertyValueEditor implements .ConvertDbToString/ToXml which allows a property editor to store something in the database, and something else in the XML cache. This causes all sorts of issues with anything that is not the XML cache, and with complex editors being built on top of Angular (nested properties...). It also means it is not possible to initialize a IPublishedProperty with what's in the database.

This "feature" is only used by the dropdown list "publishing values" editor, which stores IDs in the database (eg 1,2,3) and prevalues in the XML (eg red,green,blue). We have other ways to handle that situation, which would be much cleaner.

Creating this feature request to keep track of this: we should remove support for it in v8.

Comments

Shannon Deminick 26 Jun 2017, 05:38:47

Closing issue due to inactivity - see blog post for details https://umbraco.com/blog/issue-tracker-cleanup/


Priority: Normal

Type: Feature (request)

State: Closed

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version:

Sprint:

Story Points:

Cycle: