← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1584055] [NEW] Swift UI builds a breadcrumb from the URL regardless of existence

 

Public bug reported:

The Angular Swift UI seems overly optimistic in its construction of the
breadcrumb. To recreate:

1) Create a container named "one" and a folder named "two". Notice the URL is "<horizon_url>/project/containers/container/one/two"
2) Upload any object, just as a reference point.
3) Refresh the page. A '/' is added, and now you're in a folder containing no objects. Use the breadcrumb to go back to 'one' and then click on 'two'. You are now back in your folder.

Alternatively, go to
"<horizon_url>/project/containers/container/one/two/three". This doesn't
exist and renders as an empty folder with a constructed breadcrumb.
Instead, it should redirect (probably to the base URL)

** Affects: horizon
     Importance: Undecided
         Status: New


** Tags: angularjs swift

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

Title:
  Swift UI builds a breadcrumb from the URL regardless of existence

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  The Angular Swift UI seems overly optimistic in its construction of
  the breadcrumb. To recreate:

  1) Create a container named "one" and a folder named "two". Notice the URL is "<horizon_url>/project/containers/container/one/two"
  2) Upload any object, just as a reference point.
  3) Refresh the page. A '/' is added, and now you're in a folder containing no objects. Use the breadcrumb to go back to 'one' and then click on 'two'. You are now back in your folder.

  Alternatively, go to
  "<horizon_url>/project/containers/container/one/two/three". This
  doesn't exist and renders as an empty folder with a constructed
  breadcrumb. Instead, it should redirect (probably to the base URL)

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


Follow ups