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 "David Blevins (JIRA)" <ax...@ws.apache.org> on 2005/06/21 00:04:17 UTC

[jira] Created: (AXIS-2068) Missing setDirty flags in SAAJ tree modification (detachNode and setParent)

Missing setDirty flags in SAAJ tree modification (detachNode and setParent)
---------------------------------------------------------------------------

         Key: AXIS-2068
         URL: http://issues.apache.org/jira/browse/AXIS-2068
     Project: Apache Axis
        Type: Bug
  Components: SAAJ  
    Versions: 1.2.1    
    Reporter: David Blevins
 Attachments: setdirty.patch

This patch takes care of a couple areas where the MessageElement (NodeImpl) isn't getting marked as dirty when things are detached or the parent is changed.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (AXIS-2068) Missing setDirty flags in SAAJ tree modification (detachNode and setParent)

Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-2068?page=all ]
     
Davanum Srinivas resolved AXIS-2068:
------------------------------------

    Resolution: Fixed

Applied Patch.

thanks,
dims

> Missing setDirty flags in SAAJ tree modification (detachNode and setParent)
> ---------------------------------------------------------------------------
>
>          Key: AXIS-2068
>          URL: http://issues.apache.org/jira/browse/AXIS-2068
>      Project: Apache Axis
>         Type: Bug
>   Components: SAAJ
>     Versions: 1.2.1
>     Reporter: David Blevins
>  Attachments: setdirty.patch
>
> This patch takes care of a couple areas where the MessageElement (NodeImpl) isn't getting marked as dirty when things are detached or the parent is changed.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-2068) Missing setDirty flags in SAAJ tree modification (detachNode and setParent)

Posted by "Venkat Reddy (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS-2068?page=comments#action_12314316 ] 

Venkat Reddy commented on AXIS-2068:
------------------------------------

hmm .. i'm not sure if this is necessary. detachNode calls removeChild, so the dirty flag is set inside the removeChild. Also, this patch sets the dirty flag even if parent is null.

For set parent, the dirty flag is set inside the appendChild(), marking the parent as dirty. Child is not set as dirty, becuase its content won't change much during serialiazation, because of the change in parent, but it will for the parent.

- venkat

> Missing setDirty flags in SAAJ tree modification (detachNode and setParent)
> ---------------------------------------------------------------------------
>
>          Key: AXIS-2068
>          URL: http://issues.apache.org/jira/browse/AXIS-2068
>      Project: Apache Axis
>         Type: Bug
>   Components: SAAJ
>     Versions: 1.2.1
>     Reporter: David Blevins
>  Attachments: setdirty.patch
>
> This patch takes care of a couple areas where the MessageElement (NodeImpl) isn't getting marked as dirty when things are detached or the parent is changed.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (AXIS-2068) Missing setDirty flags in SAAJ tree modification (detachNode and setParent)

Posted by "David Blevins (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-2068?page=all ]

David Blevins updated AXIS-2068:
--------------------------------

    Attachment: setdirty.patch

> Missing setDirty flags in SAAJ tree modification (detachNode and setParent)
> ---------------------------------------------------------------------------
>
>          Key: AXIS-2068
>          URL: http://issues.apache.org/jira/browse/AXIS-2068
>      Project: Apache Axis
>         Type: Bug
>   Components: SAAJ
>     Versions: 1.2.1
>     Reporter: David Blevins
>  Attachments: setdirty.patch
>
> This patch takes care of a couple areas where the MessageElement (NodeImpl) isn't getting marked as dirty when things are detached or the parent is changed.

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira