Bug 1264218
| Summary: | Invalid Timezone: xyz ( [vm_infra/perf_chart_chooser] error when any non-default time profile is selected for C&U charts | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Nandini Chandra <nachandr> |
| Component: | UI - OPS | Assignee: | Harpreet Kataria <hkataria> |
| Status: | CLOSED ERRATA | QA Contact: | Dave Johnson <dajohnso> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.5.0 | CC: | dclarizi, hkataria, jhardy, mfeifer, mpovolny, ncarboni, obarenbo |
| Target Milestone: | GA | ||
| Target Release: | 5.5.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 5.5.0.5 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-12-08 13:31:08 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: | |||
|
Description
Nandini Chandra
2015-09-17 22:25:40 UTC
Looks like the issue is html escaping the time zone string. After creating a time profile with the "Eastern Time (US & Canada)" the time zone in the database shows ":tz: 'Eastern Time (US '" (in the time_profiles table) which causes the issue with the in_time_zone function call. Was able to successfully run through these steps with a time zone with no html escapable strings (e.g. "Hawaii"). New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/6e8fac094d48e26d2ae7e2c95effa5744a73d219 commit 6e8fac094d48e26d2ae7e2c95effa5744a73d219 Author: Harpreet Kataria <hkataria> AuthorDate: Wed Sep 30 13:41:36 2015 -0400 Commit: Harpreet Kataria <hkataria> CommitDate: Wed Sep 30 13:41:36 2015 -0400 escape selected value in bootstrap selects before sending them to server No need to escape drop down values and encodeURI before sending up to server. https://bugzilla.redhat.com/show_bug.cgi?id=1264218 app/assets/javascripts/miq_application.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Verified in 5.5.0.5 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/RHSA-2015:2551 |