Description of problem: The report raises exception, when I copy this report and modify its filter to show "This Week" events. It seems this happenes because event_streams contains some event which it cannot parse/format. The same thing happens when i try to download this report any format. Version-Release number of selected component (if applicable): 5.8.1.5 How reproducible: 100% but it requires same set of events Steps to Reproduce: 0. Put attached events to event_streams 1. Go to Cloud Intel->Reports->Reports->All Reports->Events->Operations 2. Choose "Operations VM Power On/Off Events for Last Week" report and make a copy of it 3. Change title and its filter. Filter should be the same except "Management Event: Activity Sample" should be "This Week". But it depends on age of power on/off events in event_streams table for sure. 4. Click Add 5. Go to Cloud Intel->Timelines->Timelines->My Company->Custom 6. Choose just created report Actual results: CFME gets broken and shows "unexpected error encountered" view Expected results: correct timelines rendering
Created attachment 1305281 [details] backtrace
Created attachment 1305358 [details] contents of event_streams table
Created attachment 1305361 [details] sql inserts for event_streams data
https://github.com/ManageIQ/manageiq-ui-classic/pull/1842
New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/1acc2e3926b567e4a2cf96e87d18af70d2273510 commit 1acc2e3926b567e4a2cf96e87d18af70d2273510 Author: Harpreet Kataria <hkataria> AuthorDate: Mon Aug 7 05:25:31 2017 -0400 Commit: Harpreet Kataria <hkataria> CommitDate: Mon Aug 7 07:44:34 2017 -0400 Fixed code to only set data/headers column exists in Report col headers. https://bugzilla.redhat.com/show_bug.cgi?id=1475782 lib/report_formatter/timeline.rb | 8 +++--- spec/lib/report_formater/timeline_spec.rb | 44 +++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 4 deletions(-)
*** Bug 1467333 has been marked as a duplicate of this bug. ***
verified in 5.9.0.2.20171010190026_0413a06