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 2004/11/18 17:38:24 UTC

[jira] Created: (AXIS-1671) When adding an attribute to a MessageElement with an existing sax recoder, the new attribute is not serialized.

When adding an attribute to a MessageElement with an existing sax recoder, the new attribute is not serialized.
---------------------------------------------------------------------------------------------------------------

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


When adding an attribute to a MessageElement with an existing sax recoder, the new attribute is not serialized.  It seems that a call to setDirty() should have been done, perhaps in addAttribute() itself.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.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] Updated: (AXIS-1671) When adding an attribute to a MessageElement with an existing sax recoder, the new attribute is not serialized.

Posted by "Jayachandra Sekhara Rao Sunkara (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXIS-1671?page=history ]

Jayachandra Sekhara Rao Sunkara updated AXIS-1671:
--------------------------------------------------

    Attachment: 1671_diff.txt

> When adding an attribute to a MessageElement with an existing sax recoder, the new attribute is not serialized.
> ---------------------------------------------------------------------------------------------------------------
>
>          Key: AXIS-1671
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1671
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: current (nightly)
>     Reporter: Steve Green
>     Priority: Minor
>  Attachments: 1671_diff.txt, AttrTest.java
>
> When adding an attribute to a MessageElement with an existing sax recoder, the new attribute is not serialized.  It seems that a call to setDirty() should have been done, perhaps in addAttribute() itself.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.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] Commented: (AXIS-1671) When adding an attribute to a MessageElement with an existing sax recoder, the new attribute is not serialized.

Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXIS-1671?page=comments#action_55772 ]
     
Davanum Srinivas commented on AXIS-1671:
----------------------------------------

Steve recanted :) on mailing list...keeping this open.

-- dims

> When adding an attribute to a MessageElement with an existing sax recoder, the new attribute is not serialized.
> ---------------------------------------------------------------------------------------------------------------
>
>          Key: AXIS-1671
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1671
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: current (nightly)
>     Reporter: Steve Green
>     Priority: Minor

>
> When adding an attribute to a MessageElement with an existing sax recoder, the new attribute is not serialized.  It seems that a call to setDirty() should have been done, perhaps in addAttribute() itself.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.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] Commented: (AXIS-1671) When adding an attribute to a MessageElement with an existing sax recoder, the new attribute is not serialized.

Posted by "Steve Green (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXIS-1671?page=comments#action_55696 ]
     
Steve Green commented on AXIS-1671:
-----------------------------------

This bug report is false.  The real problem is somewhere else and a correct bug report will follow.

> When adding an attribute to a MessageElement with an existing sax recoder, the new attribute is not serialized.
> ---------------------------------------------------------------------------------------------------------------
>
>          Key: AXIS-1671
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1671
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: current (nightly)
>     Reporter: Steve Green
>     Priority: Minor

>
> When adding an attribute to a MessageElement with an existing sax recoder, the new attribute is not serialized.  It seems that a call to setDirty() should have been done, perhaps in addAttribute() itself.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.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] Commented: (AXIS-1671) When adding an attribute to a MessageElement with an existing sax recoder, the new attribute is not serialized.

Posted by "Jayachandra Sekhara Rao Sunkara (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXIS-1671?page=comments#action_56378 ]
     
Jayachandra Sekhara Rao Sunkara commented on AXIS-1671:
-------------------------------------------------------

Made an attempt to turn _isDirty flag to true whenever new attributes are added. Since this (addAttribute) is an overloaded function, after looking at their call hierarchies, I basically added code so that for all the method calls the dirty flag gets set to true before the method call returns. Here I'm attaching the 'cvs -q diff -u' file (1671_diff.txt) as a patch.

Thank you,
Jayachandra

> When adding an attribute to a MessageElement with an existing sax recoder, the new attribute is not serialized.
> ---------------------------------------------------------------------------------------------------------------
>
>          Key: AXIS-1671
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1671
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: current (nightly)
>     Reporter: Steve Green
>     Priority: Minor
>  Attachments: 1671_diff.txt, AttrTest.java
>
> When adding an attribute to a MessageElement with an existing sax recoder, the new attribute is not serialized.  It seems that a call to setDirty() should have been done, perhaps in addAttribute() itself.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.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] Updated: (AXIS-1671) When adding an attribute to a MessageElement with an existing sax recoder, the new attribute is not serialized.

Posted by "Steve Green (JIRA)" <ax...@ws.apache.org>.
     [ http://nagoya.apache.org/jira/browse/AXIS-1671?page=history ]

Steve Green updated AXIS-1671:
------------------------------

    Attachment: AttrTest.java

Bug report looks legit after all..  Attached is a test program that shows an attribute not being serialized until a call to setDirty().

> When adding an attribute to a MessageElement with an existing sax recoder, the new attribute is not serialized.
> ---------------------------------------------------------------------------------------------------------------
>
>          Key: AXIS-1671
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1671
>      Project: Axis
>         Type: Bug
>   Components: Serialization/Deserialization
>     Versions: current (nightly)
>     Reporter: Steve Green
>     Priority: Minor
>  Attachments: AttrTest.java
>
> When adding an attribute to a MessageElement with an existing sax recoder, the new attribute is not serialized.  It seems that a call to setDirty() should have been done, perhaps in addAttribute() itself.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.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