Red Hat Bugzilla – Bug 1274332
Retirement Warning dropdown menu in retirement editor is not updated correctly
Last modified: 2015-12-08 08:39:34 EST
Description of problem:
With the new Patternfly selectpicker being used for our dropdown menus,
retirement editor dropdown menu is not being updated / rendered
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Navigate to a VM's details page
2. Lifecycle -> Set Retirement Date
3. Set retirement date & retirement warning (for example 1 week)
4. Again, navigate to Lifecycle -> Set Retirement Date
5. See the retirement warning dropdown menu
It's set to 'None'
It should be set to '1 week before retirement'
This is caused by us using a new Patternfly component for dropdown menus.
Retirement editor is an Angular editor and therefore additional
things need to be changed for the dropdown menu to be updated correctly
with the data from respective angular controller (model).
New commit detected on ManageIQ/manageiq/master:
Author: Milan Zazrivec <email@example.com>
AuthorDate: Thu Oct 22 16:09:33 2015 +0200
Commit: Milan Zazrivec <firstname.lastname@example.org>
CommitDate: Fri Oct 23 16:22:21 2015 +0200
Fix update of dropdown menu in retirement editor
This fix is to make sure that the data (i.e. retirement warning)
in respective angular controller is correctly displayed in
the retirement editor UI (i.e. the dropdown menu is correctly
set to the item showing correct retirement warning.
Gemfile | 1 +
app/assets/stylesheets/application.css | 2 +-
app/views/shared/views/_retire.html.haml | 18 ++++++++++--------
5 files changed, 14 insertions(+), 10 deletions(-)
The error is not present in 22.214.171.124.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.