Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change @edit[:new][:timer_typ] to @edit[:new][:timer].typ #3870

Merged
merged 1 commit into from
May 2, 2018

Conversation

ZitaNemeckova
Copy link
Contributor

@ZitaNemeckova ZitaNemeckova commented Apr 27, 2018

There's no :timer_typ key in @edit[:new] so it's aways nil and select is set to Hourly as it's the first value.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1564199

Cloud Intel -> Reports -> Dashboard Widgets -> choose one that hasn't timer set to Hourly -> Edit
Cloud Intel -> Reports -> Schedules -> choose one that hasn't timer set to Hourly -> Edit
Configuration -> Settings -> Schedules -> choose one that hasn't timer set to Hourly -> Edit

Before:
image

After:
image

@miq-bot add_label bug, gaprindashvili/yes, cloud intel/reporting

There's no :time_typ key in @edit[:new] so it's aways nil and select is set to Hourly as it's the first value

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1564199
@miq-bot
Copy link
Member

miq-bot commented Apr 27, 2018

Checked commit ZitaNemeckova@ff81db6 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
0 files checked, 0 offenses detected
Everything looks fine. 🍪

@himdel
Copy link
Contributor

himdel commented May 2, 2018

Aah, makes sense, introduced in ManageIQ/manageiq#7739 (it used to be timer_typ - https://github.com/ManageIQ/manageiq/pull/7739/files#diff-38e6bb72634d1a6475f7056b254a23d7L393).

(Not sure whether this really needs to go in euwe or darga, but the bug should be present there.)

@himdel himdel self-assigned this May 2, 2018
@himdel himdel added this to the Sprint 85 Ending May 7, 2018 milestone May 2, 2018
@himdel himdel merged commit b8977b5 into ManageIQ:master May 2, 2018
@himdel
Copy link
Contributor

himdel commented May 2, 2018

The bug is not really present in Configuration since that editor was rewritten to angular, without the rest.

Verified this fixes it in the other places 👍

@ZitaNemeckova ZitaNemeckova deleted the fix_timer_typ branch July 24, 2018 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants