Uploaded image for project: 'Migration Toolkit for Applications'
  1. Migration Toolkit for Applications
  2. MTA-27

[API][Credentials] It is possible to create more than one credential with the same name

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • MTA 6.2.0
    • upstream
    • Hub
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • DEV - Ack
    • None

      Description of problem

      It is possible to create more than one credential with the same name using API

      How reproducible

      100%

      Steps to Reproduce:

      1. Using API request, create a credential
      2. Create another credential with the same name as the previous one

      Actual results

      The second cred is created successfully

      Expected results

      The second cred fails to be created due to: "error":"UNIQUE constraint failed: credential.Name"

      Additional info

              rhn-engineering-maufart Marek Aufart
              mguetta1 Maayan Hadasi
              Maayan Hadasi Maayan Hadasi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: