[jboss-jira] [JBoss JIRA] (WFCORE-3134) When is operation add-alias run more times for same alias name then is displayed \" instead of only " in failure description.
Jiri Ondrusek (JIRA)
issues at jboss.org
Wed Aug 2 05:23:00 EDT 2017
[ https://issues.jboss.org/browse/WFCORE-3134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13443219#comment-13443219 ]
Jiri Ondrusek commented on WFCORE-3134:
---------------------------------------
Correct JIRA for this isuue is https://issues.jboss.org/browse/WFCORE-3043
I'm closing this one.
> When is operation add-alias run more times for same alias name then is displayed \" instead of only " in failure description.
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: WFCORE-3134
> URL: https://issues.jboss.org/browse/WFCORE-3134
> Project: WildFly Core
> Issue Type: Bug
> Components: Security
> Affects Versions: 3.0.0.Beta30
> Reporter: Jiri Ondrusek
> Assignee: Jiri Ondrusek
> Labels: eap72
>
> When is operation add-alias run more times for same alias name then is displayed \" instead of only " in failure description.
> There is expected quotation without backslash in failure description.
> *How to reproduce*
> *create credential store*
> {code}
> /subsystem=elytron/credential-store=cs001:add(create=true, credential-reference={clear-text=pass123},location=cs001.jceks)
> {code}
> *Try to add-alias twice and for second run you get failure description.*
> {code}
> /subsystem=elytron/credential-store=cs001:add-alias(alias=alias001, secret-value="secret_value")
> /subsystem=elytron/credential-store=cs001:add-alias(alias=alias001, secret-value="secret_value")
> {
> "outcome" => "failed",
> "result" => undefined,
> "failure-description" => "WFLYELY00913: Credential alias \"alias001\" of credential type \"org.wildfly.security.credential.PasswordCredential\" already exists in the store",
> "rolled-back" => true
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list