Red Hat Bugzilla – Bug 1477617
Validation failed: Status is not included in the list
Last modified: 2017-12-18 15:27:55 EST
New commit detected on ManageIQ/manageiq/euwe:
Author: Greg McCullough <email@example.com>
AuthorDate: Mon Jul 31 10:39:10 2017 -0400
Commit: Satoe Imaishi <firstname.lastname@example.org>
CommitDate: Wed Aug 2 13:50:23 2017 -0400
Merge pull request #15685 from syncrou/no_longer_copy_denied_state
Force status removal and default value
(cherry picked from commit 7db49cd6f4fdda5cb7bc8dd384b731baf2dfec70)
app/models/miq_request.rb | 14 +++++++++++---
app/models/miq_request_task.rb | 1 +
spec/models/miq_request_spec.rb | 15 +++++++++++++++
3 files changed, 27 insertions(+), 3 deletions(-)
To validate created the service template
From rails console:
set the status to the invalid "Denied" status:
MiqProvisionRequestTemplate.update_all(:status => "Denied")
Service request completed successfully.
Verified in 220.127.116.11.20170913182424_63a1e18
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.