Public bug reported:
If an AttributeError gets rised inside a @property on an
APIResourceWrapper or APIDictWrapper, we will get its "not found" error,
even when the original error was from a completely different object. The
reason for that is in how __getattr__ works in Python and how any
AttributeError from a property gets interpreted as "no such attribute,
call __getattr__" by that mechanism.
** Affects: horizon
Importance: Undecided
Status: New
--
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/1274097
Title:
API wrappers swallow AttributeError inside @properties
Status in OpenStack Dashboard (Horizon):
New
Bug description:
If an AttributeError gets rised inside a @property on an
APIResourceWrapper or APIDictWrapper, we will get its "not found"
error, even when the original error was from a completely different
object. The reason for that is in how __getattr__ works in Python and
how any AttributeError from a property gets interpreted as "no such
attribute, call __getattr__" by that mechanism.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1274097/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp