← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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.

** Affects: horizon
     Importance: High
         Status: Confirmed

** Changed in: horizon
   Importance: Undecided => High

** Changed in: horizon
       Status: New => Confirmed

** Changed in: horizon
    Milestone: None => rocky-2

-- 
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):
  Confirmed

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


Follow ups