Refs #204 Контроль уникальности имени фильтра

This commit is contained in:
Konstantin Krivopustov 2010-01-15 06:44:38 +00:00
parent 13177cbda5
commit 74def602a1

View File

@ -364,7 +364,8 @@ public class WebFilter
List<String> names = new ArrayList<String>();
for (Object id : select.getItemIds()) {
names.add(((FilterEntity) id).getName());
if (id != filterEntity)
names.add(((FilterEntity) id).getName());
}
final FilterEditor editor = new FilterEditor(this, filterEntity, getXmlDescriptor(), names);