You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Steve Green (JIRA)" <ax...@ws.apache.org> on 2005/02/10 19:00:15 UTC
[jira] Created: (AXIS-1811) Attribute field names are not honored from bean type desc.
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
[jira] Resolved: (AXIS-1811) Attribute field names are not honored from bean type desc.
Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXIS-1811?page=history ]
Davanum Srinivas resolved AXIS-1811:
------------------------------------
Resolution: Fixed
Thanks. Applied patch.
-- dims
> 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