]
Hynek Švábek moved JBEAP-6631 to ELY-689:
-----------------------------------------
Project: WildFly Elytron (was: JBoss Enterprise Application Platform)
Key: ELY-689 (was: JBEAP-6631)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Credential Store
(was: Security)
Affects Version/s: 1.1.0.Beta11
(was: 7.1.0.DR7)
CLI - between operations REMOVE and ADD CredentialStore alias is
needed reload
------------------------------------------------------------------------------
Key: ELY-689
URL:
https://issues.jboss.org/browse/ELY-689
Project: WildFly Elytron
Issue Type: Bug
Components: Credential Store
Affects Versions: 1.1.0.Beta11
Reporter: Hynek Švábek
Assignee: Peter Skopek
If I want remove entry from credential store and immediately I try to add new entry with
same alias then I get error message
{code}
{
"outcome" => "failed",
"failure-description" => "WFLYCTL0158: Operation handler failed:
java.lang.IllegalStateException: WFLYCTL0075: Duplicate resource csAlias001",
"rolled-back" => true
}
{code}
In case of reload after remove operation then adding entry with same alias passes.
I cannot see any information about reload-required after executing remove operation.
{code}
{
"outcome" => "success",
"result" => undefined
}
{code}
My suggestions
# add there information about reload-required
OR
# fix it so it will not be necessary reload
In my opinion second option is better.