← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1746709] Re: ngdetail for non-existing resource type or resource ID does not return 404

 

Reviewed:  https://review.openstack.org/580103
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=58af8067966539dd3417f113e7356298b48386e5
Submitter: Zuul
Branch:    master

commit 58af8067966539dd3417f113e7356298b48386e5
Author: Shu Muto <shu.mutow@xxxxxxxxx>
Date:   Wed Jul 4 15:53:03 2018 +0900

    Move to '404' page when resource type or resource not found
    
    When refresh or link directly to ngdetails without existing resource type
    or ID for the resource, ngdetails view shows blank view.
    
    This patch jump to 404 page in this situation.
    
    Change-Id: Ie95132d0fdb1e7aae5e32faad752f92ff76b238a
    Closes-Bug: #1746709


** 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/1746709

Title:
  ngdetail for non-existing resource type or resource ID does not return
  404

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  After a fix for bug 1681627 is merged, when we open non-existing
  ngdetail page, "not found" page is not displayed.

  There are two patterns.

  (1) Non-existing resource ID for known resource type
    example: /ngdetails/OS::Glance::Image/<non-existing UUID>
    -> Error message popup is shown but "not found" page is not displayed.

  (2) Unknown resource type
    example /ngdetails/OS::UNKNOWN/<something>
   -> No error message and "not found" page is displayed. A blank page with breadcrumb menu is shown.

  In either case, "not found" page would be user-friendly I believe.

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


References