]
Radoslav Husar updated WFLY-10872:
----------------------------------
Affects Version/s: 17.0.0.Final
Confusing error message when writing simple-load-provider attribute
when dynamic load provider is present
---------------------------------------------------------------------------------------------------------
Key: WFLY-10872
URL:
https://issues.jboss.org/browse/WFLY-10872
Project: WildFly
Issue Type: Bug
Components: mod_cluster
Affects Versions: 14.0.0.Beta2, 17.0.0.Final
Reporter: Jan Kasik
Assignee: Radoslav Husar
Priority: Major
Fix For: 18.0.0.Beta1
Following should add simple load provider with factor=0:
{code}
/subsystem=modcluster/mod-cluster-config=configuration/:write-attribute(name=simple-load-provider,
value=0)
{code}
Instead, this error shows up:
{code}
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0216: Management resource '[
(\"subsystem\" => \"modcluster\"),
(\"proxy\" => \"default\"),
(\"load-provider\" => \"simple\")
]' not found",
"rolled-back" => true
}
{code}
There is missing translation to create the resource, same is the situation for undefine
operation.