Create Pseudo-folder - add "/" at the end of folder name, creates a sub folder with the same name.

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

Bug Description

1. Login to Devstack as admin
2. Create the container "C_1"
3. Inside C_1 container create the pseudo folder "abc/" (with the "/" at the end of the folder name)

Observe that child folder with the same name as parent folder created (abc). when try to delete the child folder error message is displayed.

When nothing has specified after “/”, creating child folder with the same name as parent is not expected. In addition, both parent and child folders are refused to delete.

Tags: swift
Revision history for this message
Amogh (amogh-r-mavinagidad) wrote :
Revision history for this message
Gary W. Smith (gary-w-smith) wrote :

Note that the sub-folder is not actually created in swift, but it is shown in horizon is if it were.

tags: added: swift
Changed in horizon:
status: New → Confirmed
importance: Undecided → Low
Changed in horizon:
assignee: nobody → Ankur Rishi (ankur-rishi)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/141517

Changed in horizon:
status: Confirmed → In Progress
Changed in horizon:
assignee: Ankur Rishi (ankur-rishi) → Ryan Peters (rjpeter2)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/141517
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=725d8fe1d61e09e51822c1ea519f2666c74bc4d1
Submitter: Jenkins
Branch: master

commit 725d8fe1d61e09e51822c1ea519f2666c74bc4d1
Author: Ankur Rishi <email address hidden>
Date: Fri Dec 12 15:13:08 2014 -0800

    Make sure to treat extra slashes on pseudo-folder name

    In Object Storage, don't allow pseudo-folders to begin or
    end with a slash character.

    Change-Id: I046faea769c640c5db97960131c9f13488b5686d
    Closes-Bug: 1400818

Changed in horizon:
status: In Progress → Fix Committed
Changed in horizon:
milestone: none → liberty-2
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

Bug attachments

Remote bug watches

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