U4-9762 ezSearch package complains about pickers in macro parameters

This commit is contained in:
Sebastiaan Janssen
2017-04-12 13:39:38 +02:00
parent 3950b35539
commit e2dc4f36ad
6 changed files with 43 additions and 37 deletions

View File

@@ -100,8 +100,9 @@ namespace umbraco.cms.businesslogic.macro
{
if (_type == null)
{
//we'll try to create one based on the resolved new parameter editors
var found = ParameterEditorResolver.Current.GetByAlias(ParameterEditorAlias);
//we'll try to create one based on the resolved new parameter editors
// we need to show the depracated ones for backwards compatibility
var found = ParameterEditorResolver.Current.GetByAlias(ParameterEditorAlias, true);
if (found == null)
{
return null;