anitab-org / anitab-org/bridge-in-tech-backend

Bug: Creation of duplicate organizations throws error

Offen
#110 18 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @NenadPantelic Auf GitHub ansehen
Category: Coding Type: Bug
Vorherrschende Sprache
Python
Sterne
24
Forks
80
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

**Describe the bug**
Creation of a duplicate organization throws error and a 500.

**To Reproduce**
Steps to reproduce the behavior:

As a user, when I try to create an organization it creates successfully, when I try creating another organization with the same payload I see the following error:

Screen Shot 2020-08-16 at 9 23 23 PM

**Expected behavior**
409 for duplicate resource exists should be returned along with appropriate error message

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.