Bug 1375241

Summary: Fix report scheduler timer_types
Product: Red Hat CloudForms Management Engine Reporter: John Prause <jprause>
Component: ReportingAssignee: Milan Zázrivec <mzazrivec>
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Stefanisin <jistefan>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.6.0CC: jhardy, jistefan, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.7.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1376137 (view as bug list) Environment:
Last Closed: 2017-01-11 20:04:20 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: 1376137    

Description John Prause 2016-09-12 14:15:25 UTC
To reproduce the problem:
1. With non-English locale set, go to Cloud Intel -> Reports -> Schedules
2. Click 'Add a new schedule' in toolbar button
3. Change the schedule frequency to something else (Daily, Hourly, ...)

The timer_types submitted with the form must not be translated, otherwise the form submission
would fail for non-English locales:

HTTP parse error, malformed request (): #<Puma::HttpParserError:
Invalid HTTP format, parsing fails.>
...

The problem also shows in darga.

Comment 2 John Prause 2016-09-12 14:15:59 UTC
https://github.com/ManageIQ/manageiq/pull/10140