Bug 1205496
Summary: | Database statement error encountered [miq_policy/action_edit] while adding policy action | ||
---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Nandini Chandra <nachandr> |
Component: | UI - OPS | Assignee: | Martin Hradil <mhradil> |
Status: | CLOSED ERRATA | QA Contact: | Nandini Chandra <nachandr> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5.4.0 | CC: | hkataria, jhardy, mpovolny, obarenbo, rananda |
Target Milestone: | GA | ||
Target Release: | 5.4.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-06-16 12:54:47 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Nandini Chandra
2015-03-25 04:08:30 UTC
New commit detected on manageiq/master: https://github.com/ManageIQ/manageiq/commit/485835c5e0bf66123a6cccc519e0f6b65fd029b6 commit 485835c5e0bf66123a6cccc519e0f6b65fd029b6 Author: Martin Hradil <mhradil> AuthorDate: Wed Mar 25 18:23:41 2015 +0000 Commit: Martin Hradil <mhradil> CommitDate: Tue Apr 7 11:26:36 2015 +0000 Fix adding policy action of type remove or inherit tags Classification has custom find_by_name that looks up tag by name and classification by tag id That got broken by the rails4 rewrite, this commit restores the same logic but on the caller side Also the label for remove_tags should not say Inherit Tags https://bugzilla.redhat.com/show_bug.cgi?id=1205496 vmdb/app/controllers/miq_policy_controller/miq_actions.rb | 5 +++-- vmdb/app/models/classification.rb | 10 +++++++--- vmdb/app/views/miq_policy/_action_details.html.haml | 2 +- 3 files changed, 11 insertions(+), 6 deletions(-) Good to go. Verified and working fine in 5.4.0.0.23.20150423131011_69b48fd 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. https://rhn.redhat.com/errata/RHBA-2015-1100.html |