[jboss-jira] [JBoss JIRA] (WFCORE-1166) CompositeTransformer does not transform addresses
Kabir Khan (JIRA)
issues at jboss.org
Fri Nov 27 09:23:00 EST 2015
[ https://issues.jboss.org/browse/WFCORE-1166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kabir Khan moved JBEAP-2030 to WFCORE-1166:
-------------------------------------------
Project: WildFly Core (was: JBoss Enterprise Application Platform)
Key: WFCORE-1166 (was: JBEAP-2030)
Workflow: GIT Pull Request workflow (was: CDW v1)
Component/s: Domain Management
(was: Domain Management)
Target Release: (was: 7.0.0.GA)
Affects Version/s: 2.0.3.Final
(was: 7.0.0.ER1)
> CompositeTransformer does not transform addresses
> -------------------------------------------------
>
> Key: WFCORE-1166
> URL: https://issues.jboss.org/browse/WFCORE-1166
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Affects Versions: 2.0.3.Final
> Reporter: Kabir Khan
> Assignee: Kabir Khan
>
> If /some=where has a child redirection for the child=* child resource to new-child=*, then
> {code}
> {
> "operation" => "add",
> "address" => [
> ("some" => "where"),
> ("child" => "*")
> ]
> }
> {code}
> gets correctly transformed to
> {code}
> {
> "operation" => "add",
> "address" => [
> ("some" => "where"),
> ("new-child" => "*")
> ]
> }
> {code}
> But if wrapped in a transformer, e.g.:
> {code}
> {
> "operation" => "composite",
> "address" => [],
> "steps" => [
> {
> "operation" => "add",
> "address" => [
> ("some" => "where"),
> ("child" => "*")
> ]
> }
> ]
> }
> {code}
> the redirection does not happen in the transformed composite, so we have the original
> {code}
> {
> "operation" => "composite",
> "address" => [],
> "steps" => [
> {
> "operation" => "add",
> "address" => [
> ("some" => "where"),
> ("child" => "*")
> ]
> }
> ]
> }
> {code}
> rather than the expected
> {code}
> {
> "operation" => "composite",
> "address" => [],
> "steps" => [
> {
> "operation" => "add",
> "address" => [
> ("some" => "where"),
> ("new-child" => "*")
> ]
> }
> ]
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list