axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Green (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Created: (AXIS-1811) Attribute field names are not honored from bean type desc.
Date Thu, 10 Feb 2005 18:00:15 GMT
Attribute field names are not honored from bean type desc.
----------------------------------------------------------

         Key: AXIS-1811
         URL: http://issues.apache.org/jira/browse/AXIS-1811
     Project: Axis
        Type: Bug
  Components: Serialization/Deserialization  
    Versions: current (nightly)    
    Reporter: Steve Green


In SimpleDeserializer, the code looks for attribute names in the bean
description.  If it finds one, it is supposed to use the field name from
the description.  The code is missing the variable assignment.

Index: SimpleDeserializer.java
===================================================================
RCS file: /home/cvspublic/ws-axis/java/src/org/apache/axis/encoding/ser/SimpleDeserializer.java,v
retrieving revision 1.46
diff -u -r1.46 SimpleDeserializer.java
--- SimpleDeserializer.java     7 Feb 2005 13:15:50 -0000       1.46
+++ SimpleDeserializer.java     10 Feb 2005 17:49:24 -0000
@@ -355,7 +355,7 @@
             String fieldName = attributes.getLocalName(i);
             
             if(typeDesc != null) {
-                typeDesc.getFieldNameForAttribute(attrQName);
+                fieldName = typeDesc.getFieldNameForAttribute(attrQName);
                 if (fieldName == null)
                     continue;
             }


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message