When the (relatively) new built-in Umbraco.DropDown.Flexible
data type is used (all other 4 are now depreciated in umbraco/Umbraco-CMS#2502), the selected values aren't synced between environments.
Umbraco.DropDown.Flexible
property to a document type and add some pre-valuesThe property on the destination environment should have the same selected value as the source.
Actual resultThe property on the destination environment doesn't have a selected value.
WorkaroundFixing this issue is very simple: just add Umbraco.DropDown.Flexible
(or actually the Constants.PropertyEditors.DropDownListFlexibleAlias
constant) to the property editor aliases in the PrevalueValueConnector
.
As a temporary workaround, I'm currently adding this class to our projects:
public class DropdownFlexiblePrevalueValueConnector : PrevalueValueConnector { public DropdownFlexiblePrevalueValueConnector(IDataTypeService dataTypeService, ILogger logger) : base(dataTypeService, logger) { } public override IEnumerable<string> PropertyEditorAliases => new string[] { "Umbraco.DropDown.Flexible" }; }
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4