Bug 1702080

Summary: Self Service UI: There was an error fetching this service. [object Object]
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: APIAssignee: drew uhlmann <duhlmann>
Status: CLOSED ERRATA QA Contact: Niyaz Akhtar Ansari <nansari>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.9.7CC: bmidwood, dmetzger, duhlmann, hkataria, jocarter, jprause, lavenel, mpovolny, nansari, obarenbo, rmanes, yrudman
Target Milestone: GAKeywords: ZStream
Target Release: 5.10.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.4.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1677744 Environment:
Last Closed: 2019-05-21 05:46:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1677744    
Bug Blocks:    

Comment 2 CFME Bot 2019-04-24 19:48:14 UTC
New commit detected on ManageIQ/manageiq/hammer:

https://github.com/ManageIQ/manageiq/commit/c9e4cebdbd6a52dcb6bbff547ef65329f77ff8fe
commit c9e4cebdbd6a52dcb6bbff547ef65329f77ff8fe
Author:     Gregg Tanzillo <gtanzill>
AuthorDate: Thu Apr 18 15:56:09 2019 -0400
Commit:     Gregg Tanzillo <gtanzill>
CommitDate: Thu Apr 18 15:56:09 2019 -0400

    Merge pull request #18663 from d-m-u/change_get_user_to_account_for_user_deletion

    Use admin user in get_user for service show if user's deleted

    (cherry picked from commit ab9a0ba37d770b8b518367cbd2cfc64f80624939)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1702080

 app/models/mixins/miq_request_mixin.rb | 11 +-
 spec/models/miq_request_spec.rb | 6 +
 2 files changed, 13 insertions(+), 4 deletions(-)

Comment 3 Niyaz Akhtar Ansari 2019-04-30 13:48:52 UTC
Hi drew, 

Can you please give me verification steps

Thanks,
~Niyaz

Comment 4 drew uhlmann 2019-04-30 13:53:33 UTC
Hey Niyaz. "The user that the service is associated with no longer exists."
It's a lot of the same setup as the last one. 

Provision service in regular UI with user that isn't admin, delete user, then go view the service in the SUI and see if it blows up. 
If you don't get "There was an error fetching this service." as a popup notification you can verify this ticket.

Comment 5 Niyaz Akhtar Ansari 2019-04-30 14:28:17 UTC
Thanks for verification steps 

I followed the above steps and it works fine

Verified in Version: 5.10.4.0.20190424160602_acb6009

Comment 7 errata-xmlrpc 2019-05-21 05:46:56 UTC
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-2019:1247