[
https://issues.apache.org/jira/browse/ODE-380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13768985#comment-13768985
]
Hudson commented on ODE-380:
----------------------------
SUCCESS: Integrated in ODE-trunk-jdk6 #753 (See
[https://builds.apache.org/job/ODE-trunk-jdk6/753/])
ODE-380: Message#setHeaderPart should overwrite any previous value (vanto: rev
d548cc041b76bc0b9b2da91842b2f8c9c52a5963)
* bpel-runtime/src/main/java/org/apache/ode/bpel/engine/MessageImpl.java
* bpel-runtime/src/test/java/org/apache/ode/bpel/engine/MessageTest.java
> Message#setHeaderPart should overwrite any previous value
> ---------------------------------------------------------
>
> Key: ODE-380
> URL: https://issues.apache.org/jira/browse/ODE-380
> Project: ODE
> Issue Type: Bug
> Components: BPEL Runtime
> Affects Versions: 1.2
> Reporter: Alexis Midon
> Assignee: Tammo van Lessen
> Labels: patch
> Fix For: 1.3.6, 1.4
>
> Attachments: setHeaders_1x.diff, setHeaders_trunk.diff
>
>
> org.apache.ode.bpel.iapi.Message#setHeaderPart should overwrite any previous
> value if called twice.
> As of today, a new element with the same name is appended to the document. So
> you can get something like:
> <?xml version="1.0" encoding="UTF-8"?>
> <header>
> <header_ABC>foo</header_ABC>
> <header_ABC>bar</header_ABC>
> </header>
> Then when Message.getHeaderPart is invoked, the first element is returned.
> The fix must make sure that Message#setHeaderPart overwrite any existing
> value of the given header.
--
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