svn commit: r440964 - /incubator/ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelServiceReader.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r440964 - /incubator/ofbiz/trunk/framework/service/src/org/ofbiz/service/ModelServiceReader.java

jleroux@apache.org
Author: jleroux
Date: Wed Sep  6 20:40:01 2006
New Revision: 440964

URL: http://svn.apache.org/viewvc?view=rev&rev=440964
Log:
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"));