StreetCode icon indicating copy to clipboard operation
StreetCode copied to clipboard

[API][StreetCode/Image] Explore the base with photos/After the StreetCode is removed, the system doesn't allow creating a new one with the same data without replacing the image id

Open SophiaMRI opened this issue 1 year ago • 0 comments

Environment: All Reproducible: Always Build found: 61192c2

Preconditions Open Postman.

Steps to reproduce

  1. Choose the POST method.
  2. Enter valid data in the mandatory fields from the API documentation in the body (Streetcode/Create).
  3. Click the 'Send' button.
  4. Choose the DELETE method and delete the created StreetCode via id.
  5. Try again to create the StreetCode with previous data (from step 2).

Actual result The 400 status and the "An error occurred while creating a streetcode. Message: An error occurred while saving the entity changes. See the inner exception for details." messages returned in the response.

Expected result The StreetCode has been successfully created.

User story and test case links User story #115

SophiaMRI avatar Feb 05 '24 12:02 SophiaMRI