Ignore:
Timestamp:
Jul 18, 2007, 11:42:43 AM (16 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #681

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/common/plugin/configure.jsp

    r3566 r3567  
    140140              values = Collections.singletonList(param.getDefaultValue());
    141141            }
    142             // Item and File parameters will also look in the current context
    143             if ((values == null || values.size() == 0) && (pType instanceof ItemParameterType || pType instanceof FileParameterType))
     142            // Item and File parameters will also look in the current context unless they are enumerated
     143            if ((values == null || values.size() == 0) &&
     144              !pType.isEnumeration() &&
     145              (pType instanceof ItemParameterType || pType instanceof FileParameterType))
    144146            {
    145147              Item parameterItemType = Item.fromClass(pType.getParameterClass());
Note: See TracChangeset for help on using the changeset viewer.