Horizon volume without a name displays id on first load, and blank on ajax pull
Bug #1070042 reported by
Jake Dahn
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Medium
|
Victoria Martinez de la Cruz |
Bug Description
When you create a volume from the cli without a name, you will experience teh following behavior in the volume list table.
The name column will display the volume id on the first load, and when it does an ajax poll it will refresh to the actual value of None
Changed in horizon: | |
status: | New → Confirmed |
Changed in horizon: | |
assignee: | nobody → Victoria Martínez de la Cruz (vickymsee) |
Changed in horizon: | |
importance: | Undecided → Medium |
milestone: | none → grizzly-3 |
Changed in horizon: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | grizzly-3 → 2013.1 |
To post a comment you must log in.
Reason:
IndexView perforrms some data manipulation on the volumes:
def get_data(self): instances( )
self._ set_id_ if_nameless( volumes, instances)
self._ set_attachments _string( volumes, instances)
volumes = self._get_volumes()
instances = self._get_
return volumes
while for the ajax updated rows, the get_data is called from:
class UpdateRow( tables. Row):
ajax = True
def get_data(self, request, volume_id): get(request, volume_id)
volume = api.volume_
return volume
which doesn't substitute the display_name with id (_set_id_ if_nameless is not called).