[api] API returns 500 status code on package double upload

Bug #1310944 reported by Sergey Murashov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Invalid
Medium
Unassigned

Bug Description

Steps to reproduce:
1. Install murano from master branch.
2. Upload package
3. Upload this package again

Actual result:
We get 500 status code

Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :

Looks like we should add the checks for each new package and return the correct error message if package with the same name is already exist.

Changed in murano:
importance: Undecided → High
importance: High → Medium
status: New → Confirmed
Timur Sufiev (tsufiev-x)
summary: - API returns 500 status code on package double upload
+ [api] API returns 500 status code on package double upload
Changed in murano:
assignee: nobody → Ekaterina Chernova (efedorova)
Changed in murano:
assignee: Ekaterina Chernova (efedorova) → nobody
milestone: none → juno-2
importance: Medium → High
importance: High → Medium
tags: added: low-hanging-fruit
Revision history for this message
ruhe (ruhe) wrote :

This is expected behavior. Correct error code will be returned after https://bugs.launchpad.net/murano/+bug/1328662 is resolved

Changed in murano:
status: Confirmed → Invalid
milestone: juno-2 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.