← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1312235] Re: AttributeError on database backups page

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

** Changed in: horizon
    Milestone: None => juno-1

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

Title:
  AttributeError on database backups page

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  For some reason (and I genuinely do not have a clue why) some
  database-backups don't appear to have an instance attribute.  This
  causes a problem when loading the table data, as the db_name helper-
  function raises an AttributeError.

  It appears that we're prepared for obj.instance.name to not exist, but
  if obj.instance doesn't exist, then we raise the attribute error.

  The solution is to return the obj.instance_id in both cases.

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


References