Description of problem: When clicking on a request to view details an unexpected error occurs. Version-Release number of selected component (if applicable): 5.9.9 How reproducible: Steps to Reproduce: 1. Go to Services > Requests 2. Click on a request Actual results: Unexpected Error undefined method `[]' for nil:NilClass [miq_request/show] Expected results: Request details displayed Additional info: Also seen in 5.9.8
Ryan, When I open up the request in the UI, it is running the dialogs. The dialogs have an error and this causing the UI to fail. We believe this issue has been addressed here : https://bugzilla.redhat.com/show_bug.cgi?id=1667948 Can you test on version 5.9.8.0.20190121201402_b1df4c2 or later ? Thanks Billy
Billy, The first reproducer is on 5.9.9. Thanks, Ryan
https://github.com/ManageIQ/manageiq-ui-classic/pull/5526
New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/c1a6578a20c7d6f9ac088759fdf8d4dea46cfd56 commit c1a6578a20c7d6f9ac088759fdf8d4dea46cfd56 Author: Brian McLaughlin <bmclaugh> AuthorDate: Thu May 2 16:06:58 2019 -0400 Commit: Brian McLaughlin <bmclaugh> CommitDate: Thu May 2 16:06:58 2019 -0400 Fix nil:nilClass error by finding Classification by id Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1696697 app/views/miq_request/_request_dialog_details.html.haml | 3 +- app/views/miq_request/_st_prov_show.html.haml | 4 +- app/views/shared/dialogs/_dialog_field.html.haml | 3 +- 3 files changed, 6 insertions(+), 4 deletions(-)
Created attachment 1568580 [details] test dialog
*** Bug 1697897 has been marked as a duplicate of this bug. ***