Bug 1503076

Summary: '500 Internal Error' on users Policy page
Product: Red Hat CloudForms Management Engine Reporter: Vatsal Parekh <vparekh>
Component: UI - OPSAssignee: Martin Povolny <mpovolny>
Status: CLOSED CURRENTRELEASE QA Contact: Anurag <ansinha>
Severity: medium Docs Contact:
Priority: high    
Version: 5.9.0CC: dclarizi, hkataria, jhardy, mmojzis, mpovolny, obarenbo, rbabyuk, simaishi, vparekh
Target Milestone: GAKeywords: TestOnly
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1513591 (view as bug list) Environment:
Last Closed: 2018-06-21 21:11:36 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: 1513591    
Attachments:
Description Flags
production log
none
5.9.0.8_error_log none

Description Vatsal Parekh 2017-10-17 10:28:33 UTC
Created attachment 1339648 [details]
production log

Description of problem:
Going to edit tags for a user from 'Policy' button for a user gives the below error. Attached the production log.
'''
Server Error ($http)
URL /ops/report_data

Status 500 Internal Server Error

Content-Type text/html; charset=utf-8

Data no implicit conversion of nil into String [ops/explorer]
'''

Version-Release number of selected component (if applicable):
Version 5.9.0.2.20171010190026_0413a06

How reproducible:


Steps to Reproduce:
1.Configuraion->Access Control
2.'Policy' for user
3.

Actual results:


Expected results:


Additional info:

Comment 2 Vatsal Parekh 2017-10-17 10:35:13 UTC
This happens when editing tags for groups as well

Comment 3 Martin Povolny 2017-10-31 11:22:05 UTC
Confirming the issue.

Comment 4 Martin Povolny 2017-11-09 19:43:44 UTC
there's a number of PRs needed for this to be fixed, but the last one is this one:

https://github.com/ManageIQ/manageiq-ui-classic/pull/2678

Comment 5 lgalis 2017-11-09 21:06:05 UTC
*** Bug 1498064 has been marked as a duplicate of this bug. ***

Comment 6 Ruslana Babyuk 2017-11-13 10:17:44 UTC
Created attachment 1351496 [details]
5.9.0.8_error_log

For 5.9.0.8 there is a different behaviour:
Edit tags page doesn't open at all. Please check attached log file.

Comment 7 Martin Povolny 2017-11-13 22:48:18 UTC
The newly reported error behavior is tracked by another BZ (don't know the number, but saw it last week).

That has also a fix: https://github.com/ManageIQ/manageiq-ui-classic/pull/2679

Not sure if the fix is supposed to be included in 5.9.0.8. 

But today's build includes it for sure.

Please, retest with a build made 2017/11/13 or later and report back.

Thank you!

Comment 9 Vatsal Parekh 2017-11-20 06:52:19 UTC
(In reply to Martin Povolny from comment #7)
> The newly reported error behavior is tracked by another BZ (don't know the
> number, but saw it last week).
> 
> That has also a fix:
> https://github.com/ManageIQ/manageiq-ui-classic/pull/2679
> 
> Not sure if the fix is supposed to be included in 5.9.0.8. 
> 
> But today's build includes it for sure.
> 
> Please, retest with a build made 2017/11/13 or later and report back.
> 
> Thank you!

It seems to be working in Version 5.9.0.9.20171115202245_7429f75