Skip to content

Fixes #196172: manual IID should render conflict

What does this MR do?

This MR fixes #196172 (closed)

The change in this merge request only catches a given exception (::ActiveRecord::RecordNotUnique) and gives a different API response when this is catched.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

This is the first code I contribute to gitlab (and my first ruby code). I don't yet know where to add tests or something, but would be happy to learn it and update this merge request.

Since the change seems trivial, I don't expect any risks due to this change.

Edited by Mayra Cabrera

Merge request reports