Bug 1427999

Summary: Creating or copying a report drops browser session and returns to sign in screen
Product: Red Hat CloudForms Management Engine Reporter: myoder
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Stefanisin <jistefan>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.7.0CC: cpelland, dsafford, hkataria, jhardy, jocarter, mpovolny, obarenbo, saali, simaishi, slukasik
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.8.0.4 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1428122 (view as bug list) Environment:
Last Closed: 2017-06-12 17:47:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1428122    

Description myoder 2017-03-01 16:43:04 UTC
Description of problem:

When doing either of the following with reports drops the connection and sends the user back to the sign in screen:

1.	Copying an existing report to create a new report does not work and drops the connection and taking us back to the sign on screen.
2.	When creating new report none of the fields can be selected, and drops the connection and taking us back to the sign on screen.

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

How reproducible:
Always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 4 CFME Bot 2017-03-01 20:22:49 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/3c9a5adfc70e24c9b3da53f02aefd47c11308572

commit 3c9a5adfc70e24c9b3da53f02aefd47c11308572
Author:     Harpreet Kataria <hkataria>
AuthorDate: Wed Mar 1 14:58:02 2017 -0500
Commit:     Harpreet Kataria <hkataria>
CommitDate: Wed Mar 1 14:58:02 2017 -0500

    Moved cb_entities_by_provider_id hash out of @edit
    
    Changed code to set @cb_entities_by_provider_id only when adding/copying/editing chargeback reports. Having this data in @edit hash with 30k+ items was exceeding session limit and causing issues.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1427999

 .../report_controller/reports/editor.rb            | 33 ++++++++++++----------
 app/views/report/_form_filter_chargeback.html.haml |  4 +--
 spec/controllers/report_controller_spec.rb         | 22 +++++++++++++++
 3 files changed, 42 insertions(+), 17 deletions(-)

Comment 7 Dana Safford 2017-03-25 02:07:24 UTC
I just set the customer escalation flag.  We need to get some form of fix to the customer.
I'd like to offer them a copy of whatever we have in QA now. We can let them decide whether them want to run it now or wait for QA to finish.  

So when will the QA be finished??