← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1494216] [NEW] Policy check is missing for FWaaS tables

 

Public bug reported:

There are firewall policy columns in FWaaS rules and firewalls tables:

firewall_policy_id = tables.Column(get_policy_name,
                                       link=get_policy_link,
                                       verbose_name=_("In Policy"))

Method "get_policy_name" checks if there is a policy to display, but
"get_policy_link" doesn't, so when we try to add a new firewall rule
(which has no policy connection by default), horizon can't display FWaaS
tables because of "'NoneType' object has no attribute 'id'".

** Affects: horizon
     Importance: High
     Assignee: Tatiana Ovchinnikova (tmazur)
         Status: New

** Changed in: horizon
     Assignee: (unassigned) => Tatiana Ovchinnikova (tmazur)

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

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

Title:
  Policy check is missing for FWaaS tables

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  There are firewall policy columns in FWaaS rules and firewalls tables:

  firewall_policy_id = tables.Column(get_policy_name,
                                         link=get_policy_link,
                                         verbose_name=_("In Policy"))

  Method "get_policy_name" checks if there is a policy to display, but
  "get_policy_link" doesn't, so when we try to add a new firewall rule
  (which has no policy connection by default), horizon can't display
  FWaaS tables because of "'NoneType' object has no attribute 'id'".

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


Follow ups