yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #10863
[Bug 1274097] Re: API wrappers swallow AttributeError inside @properties
** Changed in: horizon
Status: Fix Committed => Fix Released
--
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):
Fix Released
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
References