Uploaded image for project: 'Razor'
  1. Razor
  2. RAZOR-185

"Create" commands should return different status if already exists

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: RAZOR 0.14.1
    • Fix Version/s: RAZOR 0.15.0
    • Component/s: QA, Server
    • Labels:
      None
    • Template:
    • Epic Link:
    • Story Points:
      1
    • Sprint:
      May 7, May 21

      Description

      When you run a command like create-repo with the same "name" ID twice in a row, the second command fails due to a 400 error because of the database constraint.

      Ideally, the behavior should be to ACK (202) both requests if the commands are identical, but NACK (409, Conflict) the second request if the commands differ.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              phong Phong Ly
              Reporter:
              scott.mcclellan Scott McClellan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support