instance description is shown only when it has a value
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Low
|
Akihiro Motoki |
Bug Description
In the instance detail page, the description field is only shown when the description of a corresponding server has non-empty string. It is better to display "description" field regardless of its value.
[detail]
Nova API returns 'null' (python None) for description field if no description is set for the server.
The current _detail_
I guess this was introduced to support an older nova APi version without description support, but there is no good way to distinguish no description field and empty description. There is also no good way to handle False and None separately in django template filter (without creating a new attribute like has_description). Having a new attribute like has_description works but I think it is too much, and the recent releases of nova support description field, so no check looks needed.
Changed in horizon: | |
milestone: | none → queens-3 |
Related fix proposed to branch: master /review. openstack. org/527156
Review: https:/