Author: adrianc
Date: Tue Jul 17 11:09:13 2012
New Revision: 1362445
URL:
http://svn.apache.org/viewvc?rev=1362445&view=revLog:
Fixed a bug in Mini-language <set> element validation.
Modified:
ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/SetOperation.java
Modified: ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/SetOperation.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/SetOperation.java?rev=1362445&r1=1362444&r2=1362445&view=diff==============================================================================
--- ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/SetOperation.java (original)
+++ ofbiz/trunk/framework/minilang/src/org/ofbiz/minilang/method/envops/SetOperation.java Tue Jul 17 11:09:13 2012
@@ -116,7 +116,7 @@ public final class SetOperation extends
this.formatFse = FlexibleStringExpander.getInstance(element.getAttribute("format"));
this.type = element.getAttribute("type");
Class<?> targetClass = null;
- if (!this.type.isEmpty()) {
+ if (!this.type.isEmpty() && !"NewList".equals(this.type) && !"NewMap".equals(this.type)) {
try {
targetClass = ObjectType.loadClass(this.type);
} catch (ClassNotFoundException e) {