[jboss-jira] [JBoss JIRA] (WFLY-8856) When is operation add-alias run more times for same alias name then is displayed \" instead of only " in failure description.

Hynek Švábek (JIRA) issues at jboss.org
Tue May 30 02:16:00 EDT 2017


Hynek Švábek created WFLY-8856:
----------------------------------

             Summary: When is operation add-alias run more times for same alias name then is displayed \" instead of only " in failure description.
                 Key: WFLY-8856
                 URL: https://issues.jboss.org/browse/WFLY-8856
             Project: WildFly
          Issue Type: Bug
          Components: Security
            Reporter: Hynek Švábek
            Assignee: Darran Lofthouse


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