Fixes: U4-3430 Save Properties not working for usercontrol macro

This commit is contained in:
Shannon
2013-11-14 21:56:01 +11:00
parent 10e65e8027
commit 6d2caaa723
3 changed files with 60 additions and 56 deletions

View File

@@ -430,7 +430,7 @@ namespace Umbraco.Core
internal IEnumerable<Type> ResolvePropertyEditors()
{
//return all proeprty editor types found except for the base property editor type
return ResolveTypes<PropertyEditor>()
return ResolveTypes<PropertyEditor>().ToArray()
.Except(new[] {typeof (PropertyEditor)});
}
@@ -440,7 +440,7 @@ namespace Umbraco.Core
internal IEnumerable<Type> ResolveParameterEditors()
{
//return all paramter editor types found except for the base property editor type
return ResolveTypes<IParameterEditor>()
return ResolveTypes<IParameterEditor>().ToArray()
.Except(new[] { typeof(ParameterEditor), typeof(PropertyEditor) });
}