]
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}