[jboss-jira] [JBoss JIRA] (WFCORE-3043) 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:22:00 EDT 2017


     [ https://issues.jboss.org/browse/WFCORE-3043?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jiri Ondrusek reassigned WFCORE-3043:
-------------------------------------

    Assignee: Jiri Ondrusek  (was: Darran Lofthouse)


> When is operation add-alias run more times for same alias name then is displayed \" instead of only " in failure description.
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WFCORE-3043
>                 URL: https://issues.jboss.org/browse/WFCORE-3043
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Security
>            Reporter: Hynek Švábek
>            Assignee: Jiri Ondrusek
>
> 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