Author: jleroux
Date: Wed Sep 6 20:40:01 2006
New Revision: 440964
URL:
http://svn.apache.org/viewvc?view=rev&rev=440964Log:
A patch contributed by Peter Goron and reminded by Marco Risaliti. Thans to them.
Please see "Overriding a service attribute type changes attribute's name" OFBIZ-756
Modified:
incubator/ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelServiceReader.java
Modified: incubator/ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelServiceReader.java
URL:
http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelServiceReader.java?view=diff&rev=440964&r1=440963&r2=440964==============================================================================
--- incubator/ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelServiceReader.java (original)
+++ incubator/ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelServiceReader.java Wed Sep 6 20:40:01 2006
@@ -618,7 +618,7 @@
if (param != null) {
// set only modified values
if (attribute.getAttribute("type") != null && attribute.getAttribute("type").length() > 0) {
- param.name = UtilXml.checkEmpty(attribute.getAttribute("type"));
+ param.type = UtilXml.checkEmpty(attribute.getAttribute("type"));
}
if (attribute.getAttribute("mode") != null && attribute.getAttribute("mode").length() > 0) {
param.mode = UtilXml.checkEmpty(attribute.getAttribute("mode"));