Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-3134

When is operation add-alias run more times for same alias name then is displayed \" instead of only " in failure description.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 3.0.0.Beta30
    • Security

      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

      /subsystem=elytron/credential-store=cs001:add(create=true, credential-reference={clear-text=pass123},location=cs001.jceks)
      

      Try to add-alias twice and for second run you get failure description.

      /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
      }
      

              jondruse@redhat.com Jiri Ondrusek
              jondruse@redhat.com Jiri Ondrusek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: