getting success message on duplicate object

Bug #1478126 reported by Ryan Peters
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Low
Ryan Peters

Bug Description

Getting success pop up message for creating duplicate object, object not created as it already exists.

Steps to reproduce:

1. Create the container "test".
2. Under the container "test", upload the object/create the pseudo Folder with the name "new". Observe that"new" is created and displayed in "test".
3. Again, inside "test" create pseudo folder/object with the name "new" which is a duplicate.
4. Observe that popup message with "Success" message is displayed.

Expected Result: Instead display appropriate error message.

Tags: swift
Ryan Peters (rjpeter2)
Changed in horizon:
assignee: nobody → Ryan Peters (rjpeter2)
status: New → In Progress
Changed in horizon:
assignee: Ryan Peters (rjpeter2) → Lin Hua Cheng (lin-hua-cheng)
Revision history for this message
Lin Hua Cheng (lin-hua-cheng) wrote :
Changed in horizon:
milestone: none → liberty-2
importance: Undecided → Low
Changed in horizon:
assignee: Lin Hua Cheng (lin-hua-cheng) → Ryan Peters (rjpeter2)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/204777
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=56931099019987a343bdeae432dd15ebea5d7c33
Submitter: Jenkins
Branch: master

commit 56931099019987a343bdeae432dd15ebea5d7c33
Author: Ryan Peters <email address hidden>
Date: Wed Jul 22 15:34:53 2015 -0500

    Fixed getting success msg on failing swift operation

    Show error message instead of success message when attempting to
    create a duplicate object or pseudo-folder. Added tests for
    creating and creating duplicate pseudo-folders.

    Change-Id: I875d471921d9a37bb6706a17d4fbca5e9428ae93
    Closes-Bug: #1478126

Changed in horizon:
status: In Progress → Fix Committed
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: liberty-2 → 8.0.0
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.