← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1596568] Re: new (ng) swift browser cannot work with duplicate folder names

 

Reviewed:  https://review.openstack.org/335269
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=086b33a9782088fc968ab2750919e00c38737a24
Submitter: Jenkins
Branch:    master

commit 086b33a9782088fc968ab2750919e00c38737a24
Author: Richard Jones <r1chardj0n3s@xxxxxxxxx>
Date:   Wed Jun 29 10:45:14 2016 +1000

    Fix handling of swift object name == pseudo-folder name
    
    Reinstate the proper path for swift pseudo-folders so
    that they can be differentiated when adjacent to objects
    with the same name.
    
    In adding the test code for this patch the test data
    also had to be modified to be more correctly mirroring
    the API response data we get.
    
    Change-Id: If0df0be612c0eeb999e2633eb6a00da80b2e0cf8
    Closes-Bug: 1596568


** Changed in: horizon
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1596568

Title:
  new (ng) swift browser cannot work with duplicate folder names

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Seeing that the new swift ui cannot handle duplicate pseudo folder
  names :

  d8f1634c7721.js:1235 Error: [ngRepeat:dupes] Duplicates in a repeater
  are not allowed. Use 'track by' expression to specify unique keys.
  Repeater: item in items track by item[config.trackId], Duplicate key:
  folder, Duplicate value:
  {"name":"benchmark","bytes":null,"content_type":"application/pseudo-
  folder","is_object":false,"path":"benchmark","is_subdir":true,"url":"/api/swift/containers/redacted/object/folder"}

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1596568/+subscriptions


References