Table rendering broken for certain objects
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Undecided
|
Brian DeHamer |
Bug Description
The patch that was submitted for Bug #1203391 (https:/
Unfortunately, this results in errors for certain objects that may want to be rendered in a table. Any object which is iterable will be treated as a dictionary. However, an error will be raised if that object doesn't also implement a 'get' method (called on line 312). I have a few pages which use tables to display data from mongoengine-based models -- these models are iterable, but do NOT implement a get method and are now resulting in errors when rendered in a table.
File "/adminui/
row = self._meta.
File "/adminui/
self.
File "/adminui/
cell = table._
File "/adminui/
self.data = self.get_
File "/adminui/
data = column.
File "/adminui/
data = self.get_
File "/adminui/
if callable(
AttributeError: 'Application' object has no attribute 'get'
Changed in horizon: | |
assignee: | nobody → Brian DeHamer (brian-dehamer) |
Changed in horizon: | |
milestone: | none → icehouse-3 |
Changed in horizon: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | icehouse-3 → 2014.1 |
Fix proposed to branch: master /review. openstack. org/72722
Review: https:/