[prev in list] [next in list] [prev in thread] [next in thread]
List: xmlrpc-user
Subject: [jira] [Resolved] (AXIOM-432) Updating the last child is not correct unless we are replacing the las
From: "Andreas Veithen (JIRA)" <jira () apache ! org>
Date: 2012-09-15 5:42:07
Message-ID: 1312047065.83737.1347687727825.JavaMail.jiratomcat () arcas
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/AXIOM-432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]
Andreas Veithen resolved AXIOM-432.
-----------------------------------
Resolution: Fixed
The reporter didn't provide the necessary instructions to execute the sample that is \
expected to show the issue. Nevertheless I believe that the issue is fixed: multiple \
problems in the implementation of the replaceChild method were found and have been \
corrected.
> Updating the last child is not correct unless we are replacing the last child
> -----------------------------------------------------------------------------
>
> Key: AXIOM-432
> URL: https://issues.apache.org/jira/browse/AXIOM-432
> Project: Axiom
> Issue Type: Bug
> Components: DOOM
> Reporter: detelin20@yahoo.com
> Assignee: Andreas Veithen
> Fix For: 1.2.14
>
> Attachments: axiom432-test.zip
>
>
> I have a simple policy which encrypts a header. When the WSS for J decrypts I could \
> see in the Dom model the decrypted header. Actually I have 3 headers of which one \
> is encrypted in the Dom model. I see all the 3 headers after it is decrypted. But \
> when it is converted into the OOM model some of the headers disappear. \
> soapHeader.addHeaderBlock(element.getLocalName(), element.getNamespace()); \
> statement I noticed that the lastChild field of the SOAPHeader block points to a \
> header element somewhere in the middle of the list instead of the last one meaning \
> if the Header block contains 3 headers HDR1 -> HDR2 -> HDR3 then the lastChild \
> should point to HDR3; instead it points to HDR2 so when a new header HDR4 is added, \
> instead of the list becoming HDR1 -> HDR2 -> HDR3 -> HDR4 it becomes HDR1 -> HDR2 \
> -> HDR4 skipping HDR3 The defect is in \
> org.apache.axiom.om.impl.dom.ParentNode.replaceChild(Node, Node) ,line 414, where \
> updating the last child is not correct unless we are replacing the last child.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic