← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1312192] Re: On security groups page, attribute error in error handle

 

** Also affects: horizon/icehouse
   Importance: Undecided
       Status: New

** Changed in: horizon/icehouse
    Milestone: None => 2014.1.2

** Changed in: horizon/icehouse
       Status: New => Fix Committed

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

Title:
  On security groups page, attribute error in error handle

Status in OpenStack Dashboard (Horizon):
  Fix Released
Status in OpenStack Dashboard (Horizon) icehouse series:
  Fix Committed

Bug description:
  On the  project/access_and_security/security_groups/<detail> page,
  some errors inside the
  openstack_dashboard/dashboards/project/access_and_security/security_groups/views
  DetailView._get_data method are still resulting in a None being
  returned.  This causes an error in the DetailView.get_data method as
  NoneTypes clearly don't have a .rules attribute.

  I'm not sure why the error is sneaking through the exceptions.handle
  above, but they most definitely are.  Perhaps Ana Krivokapic's changes
  here: https://review.openstack.org/#/c/84109/ may eventually solve
  this, but it's unclear.

  In the mean time, and potentially correct overall, if a None is
  returned, the get_data method should return an empty list instead of
  throwing an exception.

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


References