Bug 1341207
| Summary: | Unable to view compliance history of a container image. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Dmitry Misharov <dmisharo> | ||||||
| Component: | Control | Assignee: | Mooli Tayer <mtayer> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Dmitry Misharov <dmisharo> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 5.6.0 | CC: | cpelland, fsimonce, jhardy, mfeifer, mtayer, obarenbo, simaishi | ||||||
| Target Milestone: | GA | ||||||||
| Target Release: | 5.6.0 | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | control:container | ||||||||
| 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 16:07:00 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: | |||||||||
| Attachments: |
|
||||||||
Mooli, I am assigning this to you, but feel free to pass this to Erez if you're busy on other bugs. Thanks for reporting. Fixed in https://github.com/ManageIQ/manageiq/pull/8924 Posting as it was already merged and backported Mooli if we already had a bug on this in the past you can close it as a duplicate. There is no previous bug. Tested on 5.6.0.9-rc2.20160531154046_b4e2f6d. Got error: "uninitialized constant ContainersCommonMixin::TreeBuilderComplianceHistory [container_image/show]" Created attachment 1163941 [details]
Screenshot of the bug on 5.6.0.9-rc2.20160531154046_b4e2f6d
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 (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 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. 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 |
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.