Bug 1208852 - Database statement error encountered [miq_policy/tree_select]
Summary: Database statement error encountered [miq_policy/tree_select]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.4.0
Hardware: x86_64
OS: Linux
high
high
Target Milestone: GA
: 5.4.0
Assignee: Jozef Zigmund
QA Contact: Milan Falešník
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-03 13:11 UTC by Milan Falešník
Modified: 2015-06-16 12:56 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-16 12:56:49 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1204635 0 medium CLOSED undefined method `first' for nil:NilClass [miq_policy/tree_select] when clicked on alert in accordion tree 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHBA-2015:1100 0 normal SHIPPED_LIVE CFME 5.4.0 bug fixes, and enhancement update 2015-06-16 16:28:42 UTC

Internal Links: 1204635

Description Milan Falešník 2015-04-03 13:11:37 UTC
Description of problem:
=======================

This happened after doing these steps:

* Setup a provider
* Create an action to untag a specific tag, assigning it into VM Power On in a policy in policy profile that is then assigned to a VM
* Make the action run by powering on the VM
* Wanting to delete that action after the events were unassigned.

Repeatably reproducible (I use cfme_tests: cfme/tests/control/test_actions.py/test_action_untag which does the steps as described)
And the problem persists even after the tests finish so it is not session-specific.

It appears when entering the summary screen.


Version-Release number of selected component (if applicable):
=============================================================
5.4.0.0.14 and nightlies too


Actual results:
===============
An exception appears


Expected results:
=================
Summary is displayed.


Additional info:
================
Issue reported on upstream here: https://github.com/ManageIQ/manageiq/issues/2280

Comment 3 Dave Johnson 2015-04-09 17:06:10 UTC
This sounds like a dup of bug 1204635 but not exactly sure so leaving it open for dev to determine.

Comment 4 Jozef Zigmund 2015-04-15 15:38:01 UTC
I was not able to reproduce the bug. Also Milan confirms that the QA test is passing right now on a nightly build

Comment 6 Milan Falešník 2015-04-22 14:16:57 UTC
I just ran the tests agains 5.4.0.0.22 and no error happened.

Comment 8 errata-xmlrpc 2015-06-16 12:56:49 UTC
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


Note You need to log in before you can comment on or make changes to this bug.