Description of problem:"'nil' is not an ActiveModel-compatible object" error when viewing details while approving provisioning request Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Go to Services/Requests screen 2. Select VM Provisioning Request 3. Press Approve button, on Approve screen try to change tab on the Dialog at the bottom of screen Actual results: It should show contents of the tab Expected results: Blows up with error: [----] F, [2015-10-08T14:11:44.857917 #9975:104f988] FATAL -- : Error caught: [ArgumentError] 'nil' is not an ActiveModel-compatible object. It must implement :to_partial_path. Additional info:
https://github.com/ManageIQ/manageiq/issues/4631
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
https://github.com/ManageIQ/manageiq/pull/4771
https://github.com/ManageIQ/manageiq/pull/4770
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 ...
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