]
Chao Wang moved JBEAP-12823 to WFLY-9250:
-----------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-9250 (was: JBEAP-12823)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Naming
(was: Naming)
(was: User Experience)
Affects Version/s: 11.0.0.Beta1
(was: 7.1.0.ER3)
NoSuchElementException when running rebind operation without
binding-type specified
-----------------------------------------------------------------------------------
Key: WFLY-9250
URL:
https://issues.jboss.org/browse/WFLY-9250
Project: WildFly
Issue Type: Bug
Components: Naming
Affects Versions: 11.0.0.Beta1
Reporter: Chao Wang
Assignee: Chao Wang
Priority: Minor
{noformat}
[standalone@localhost:9990 /]
/subsystem=naming/binding="java:/hello":add(binding-type=simple, value=hello)
{"outcome" => "success"}
[standalone@localhost:9990 /] /subsystem=naming/binding="java:/hello":rebind
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0158: Operation handler failed:
java.util.NoSuchElementException: No child 'binding-type' exists",
"rolled-back" => true
}
{noformat}
When I forget the {{binding-type}} parameter, the error message should be more
informative.