Bug 1269999
| Summary: | Request: "'nil' is not an ActiveModel-compatible object" error when on approve request screen | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Harpreet Kataria <hkataria> | |
| Component: | UI - OPS | Assignee: | Harpreet Kataria <hkataria> | |
| Status: | CLOSED ERRATA | QA Contact: | Thom Carlin <tcarlin> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | high | |||
| Version: | 5.5.0 | CC: | cpelland, dclarizi, hkataria, jhardy, mfeifer, mpovolny, obarenbo | |
| Target Milestone: | GA | Keywords: | ZStream | |
| Target Release: | 5.5.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | 5.5.0.6 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1270305 (view as bug list) | Environment: | ||
| Last Closed: | 2015-12-08 13:35:44 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1270305 | |||
|
Description
Harpreet Kataria
2015-10-08 18:15:21 UTC
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/9f4d83af8a16910024158307cce5424f7cfd8a72 commit 9f4d83af8a16910024158307cce5424f7cfd8a72 Author: Harpreet Kataria <hkataria> AuthorDate: Thu Oct 8 15:14:31 2015 -0400 Commit: Harpreet Kataria <hkataria> CommitDate: Thu Oct 8 15:14:31 2015 -0400 Fixed to return correct partial name Existing code was returning nil as partial name when changing tabs on Provisioning Approve/Deny screens. Added spec tests to verify the fix https://bugzilla.redhat.com/show_bug.cgi?id=1269999 Fixes #4631 .../application_controller/miq_request_methods.rb | 3 +- .../miq_request_methods_spec.rb | 36 ++++++++++++++++++++++ 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 spec/controllers/application_controller/miq_request_methods_spec.rb New commit detected on cfme/5.4.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=7381e3a5ba25c9f5ee4dd9ecdd57e4897627b881 commit 7381e3a5ba25c9f5ee4dd9ecdd57e4897627b881 Author: Harpreet Kataria <hkataria> AuthorDate: Fri Oct 9 11:03:58 2015 -0400 Commit: Harpreet Kataria <hkataria> CommitDate: Fri Oct 9 11:11:02 2015 -0400 Fixed to return correct partial name Existing code was returning nil as partial name when changing tabs on Provisioning Approve/Deny screens. Added spec tests to verify the fix https://bugzilla.redhat.com/show_bug.cgi?id=1269999 https://bugzilla.redhat.com/show_bug.cgi?id=1270305 Fixes #4631 .../application_controller/miq_request_methods.rb | 3 +- .../miq_request_methods_spec.rb | 36 ++++++++++++++++++++++ 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 vmdb/spec/controllers/application_controller/miq_request_methods_spec.rb More complete steps: 1. Infrastructure > Providers 2. Add new Provider with credentials 3. Refresh Relationships and Power States 4. Infrastructure > Virtual Machines 5. Lifecycle > Provision VM 6. enter information and submit 7. You are taken to Services > Request screen 8. Select row with provisioning requests ... More complete steps: 1. Infrastructure > Providers 2. Add new Provider with credentials 3. Refresh Relationships and Power States 4. Infrastructure > Virtual Machines 5. Lifecycle > Provision VM 6. enter information and submit 7. You are taken to Services > Request screen 8. Select row with provisioning requests ... 9. Press Approve button, on Approve screen try to change tab on the Dialog at the bottom of screen also need 0. Setup Approval per Lifecycle_and_Automation_Guide, Provisioning_Request_Approval_Methods1 Was able to move around tabs at bottom of screen for both approval and denial. Verified in 5.5.0.7-beta1.3.20151021133253_ed40d96 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/RHSA-2015:2551 |