API wrappers swallow AttributeError inside @properties
Bug #1274097 reported by
Radomir Dopieralski
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Low
|
Radomir Dopieralski |
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.
Changed in horizon: | |
importance: | Undecided → Low |
milestone: | none → icehouse-3 |
Changed in horizon: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | icehouse-3 → 2014.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/69857
Review: https:/