Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1341207 - Unable to view compliance history of a container image.
Unable to view compliance history of a container image.
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Control (Show other bugs)
5.6.0
All All
high Severity high
: GA
: 5.6.0
Assigned To: Mooli Tayer
Dmitry Misharov
control:container
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-05-31 09:11 EDT by Dmitry Misharov
Modified: 2016-06-29 12:07 EDT (History)
7 users (show)

See Also:
Fixed In Version: 5.6.0.11
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-06-29 12:07:00 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Screenshot of the bug (64.84 KB, image/png)
2016-05-31 09:11 EDT, Dmitry Misharov
no flags Details
Screenshot of the bug on 5.6.0.9-rc2.20160531154046_b4e2f6d (63.77 KB, image/png)
2016-06-02 03:58 EDT, Dmitry Misharov
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 14:50:04 EDT

  None (edit)
Description Dmitry Misharov 2016-05-31 09:11:21 EDT
Created attachment 1163228 [details]
Screenshot of the bug

Description of problem:
When you try to view compliance history of a container image an error is occurred.

Version-Release number of selected component (if applicable):
5.6.0.8-rc1.20160524155303_f2a5a50 

How reproducible:
Always

Steps to Reproduce:
1. Add a container provider.
2. Navigate to Compute->Containers->Container Images.
3. Open any Container Image.
4. Execute "Check Compliance of Last Known Configuration".
5. Click on History row in Compliance table.

Actual results:
Got error "undefined local variable or method `count' for #<ContainerImageController:0x0000000223d438> [container_image/show] "

Expected results:
Compliance History must be shown.
Comment 2 Federico Simoncelli 2016-06-01 03:59:07 EDT
Mooli, I am assigning this to you, but feel free to pass this to Erez if you're busy on other bugs.
Comment 3 Mooli Tayer 2016-06-01 06:46:44 EDT
Thanks for reporting.

Fixed in https://github.com/ManageIQ/manageiq/pull/8924

Posting as it was already merged and backported
Comment 4 Federico Simoncelli 2016-06-01 06:59:27 EDT
Mooli if we already had a bug on this in the past you can close it as a duplicate.
Comment 5 Mooli Tayer 2016-06-01 07:04:08 EDT
There is no previous bug.
Comment 6 Dmitry Misharov 2016-06-02 03:57:40 EDT
Tested on 5.6.0.9-rc2.20160531154046_b4e2f6d. Got error: "uninitialized constant ContainersCommonMixin::TreeBuilderComplianceHistory [container_image/show]"
Comment 7 Dmitry Misharov 2016-06-02 03:58 EDT
Created attachment 1163941 [details]
Screenshot of the bug on 5.6.0.9-rc2.20160531154046_b4e2f6d
Comment 8 Mooli Tayer 2016-06-08 18:49:50 EDT
Submitted a fix for Darga only[1]
The bug was introduced here[1] and fixed here[2]

[1] https://github.com/ManageIQ/manageiq/commit/6a80d907b5cacab26639ec75c1437f26782a8060

[2] https://github.com/ManageIQ/manageiq/commit/32d05dbe090e5f5a0920f21641d78842de719fb7
Comment 9 Mooli Tayer 2016-06-08 18:59:51 EDT
(In reply to Mooli Tayer from comment #8)
> Submitted a fix for Darga only[1]
> The bug was introduced here[1] and fixed here[2]
> 
> [1]
> https://github.com/ManageIQ/manageiq/commit/
> 6a80d907b5cacab26639ec75c1437f26782a8060
> 
> [2]
> https://github.com/ManageIQ/manageiq/commit/
> 32d05dbe090e5f5a0920f21641d78842de719fb7

Sent by mistake..
introduced in: https://github.com/ManageIQ/manageiq/commit/6a80d907b5cacab26639ec75c1437f26782a8060

Suggested Fix for Darga: https://github.com/ManageIQ/manageiq/pull/9152
Fix for master(merged): https://github.com/ManageIQ/manageiq/commit/32d05dbe090e5f5a0920f21641d78842de719fb7
Comment 10 Oleg Barenboim 2016-06-09 16:20:33 EDT
https://github.com/ManageIQ/manageiq/pull/9152 merged!
Comment 11 Dmitry Misharov 2016-06-16 05:35:39 EDT
Tested on 5.6.0.11-rc2.2.20160614152915_f315c68. History can be opened now, but pressing "Expand All" button cause an error. This bug is verified and new one has been opened https://bugzilla.redhat.com/show_bug.cgi?id=1347194.
Comment 13 errata-xmlrpc 2016-06-29 12:07:00 EDT
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://access.redhat.com/errata/RHBA-2016:1348

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