Troubleshoot, fix

This commit is contained in:
Stephan
2018-03-16 09:06:44 +01:00
parent 3637e1e5af
commit dda696bde5
89 changed files with 721 additions and 781 deletions

View File

@@ -57,7 +57,7 @@ namespace Umbraco.Web.Models.Mapping
//store the current props to append to the newly inserted ones
var currProps = genericProps.Properties.ToArray();
var labelEditor = Current.PropertyEditors[Constants.PropertyEditors.Aliases.NoEdit].ValueEditor.View;
var labelEditor = Current.PropertyEditors[Constants.PropertyEditors.Aliases.NoEdit].GetValueEditor().View;
var contentProps = new List<ContentPropertyDisplay>
{
@@ -162,7 +162,7 @@ namespace Umbraco.Web.Models.Mapping
IsActive = true
};
var listViewConfig = editor.ConfigurationEditor.ToConfigurationEditor(dt.Configuration);
var listViewConfig = editor.GetConfigurationEditor().ToConfigurationEditor(dt.Configuration);
//add the entity type to the config
listViewConfig["entityType"] = entityType;
@@ -180,7 +180,7 @@ namespace Umbraco.Web.Models.Mapping
Alias = $"{Constants.PropertyEditors.InternalGenericPropertiesPrefix}containerView",
Label = "",
Value = null,
View = editor.ValueEditor.View,
View = editor.GetValueEditor().View,
HideLabel = true,
Config = listViewConfig
});