← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1448867] Re: Subfolder_path is None when upload object.

 

Given that the swift UI has been replaced, this is low priority, and its
unlikely this will be fixed unless somebody turns up with code.

** Changed in: horizon
       Status: New => Won't Fix

-- 
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/1448867

Title:
  Subfolder_path is None when upload object.

Status in OpenStack Dashboard (Horizon):
  Won't Fix

Bug description:
  Subfolder_path is None when upload object.

  Step:
  1. Create 50 containers. Container_1 ~ 50.
  2. click Container_1 then create pseudo-folder folder1.
  3. click folder1 and then upload object test1.
  4. repeate to click sidebar Container to reload table.
  5. repeate step 3 will see the Subfolder_path is none.
   to view the page source code will see the button path lost 'folder1'

   subfolders = self.table.kwargs.get('subfolder_path', '')

      def get_link_url(self, datum=None):
          # Usable for both the container and object tables
          if getattr(datum, 'container', datum):
              # This is a container
              container_name = http.urlquote(datum.name)
          else:
              # This is a table action, and we already have the container name
              container_name = self.table.kwargs['container_name']
          subfolders = self.table.kwargs.get('subfolder_path', '')
          args = (http.urlquote(bit) for bit in
                  (container_name, subfolders) if bit)
          return reverse(self.url, args=args)

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


References