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

"Create" commands should return different status if already exists

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • RAZOR 0.14.1
    • RAZOR 0.15.0
    • QA, Server
    • None

    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

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

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support