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

Fix for service dialog refreshing every time a dropdown item is selected #12718

Merged
merged 1 commit into from
Nov 17, 2016

Conversation

eclarizio
Copy link
Member

@eclarizio eclarizio commented Nov 17, 2016

The problem in the below linked BZ was that "" was being passed in as the trigger_auto_refresh property, and then was getting ||'d with "true", and so it was always causing a refresh.

This fix will ensure that the triggerAutoRefresh method will be able to handle any values that come through even if they are not explicitly "false" or "true", and coerce them into false or true.

Links

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

@miq-bot assign @gmcculloug

/cc @syncrou Can you review this for me, please?

@miq-bot
Copy link
Member

miq-bot commented Nov 17, 2016

Checked commit eclarizio@76229c9 with ruby 2.2.5, rubocop 0.37.2, and haml-lint 0.16.1
0 files checked, 0 offenses detected
Everything looks good. 👍

@syncrou
Copy link
Contributor

syncrou commented Nov 17, 2016

👍 Looks good to me

@gmcculloug gmcculloug merged commit 2cd0d32 into ManageIQ:master Nov 17, 2016
chessbyte pushed a commit that referenced this pull request Nov 17, 2016
Fix for service dialog refreshing every time a dropdown item is selected
(cherry picked from commit 2cd0d32)

https://bugzilla.redhat.com/show_bug.cgi?id=1396167
@chessbyte
Copy link
Member

Euwe Backport details:

$ git log -1
commit 8ffcaef773ad1be5deb7dfa2c00dcf839335563a
Author: Greg McCullough <gmccullo@redhat.com>
Date:   Thu Nov 17 14:39:48 2016 -0500

    Merge pull request #12718 from eclarizio/BZ1396167

    Fix for service dialog refreshing every time a dropdown item is selected
    (cherry picked from commit 2cd0d32b042751d1af5c153ef1b554a47ca7f36c)

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

@chessbyte chessbyte added this to the Sprint 50 Ending Dec 5, 2016 milestone Nov 20, 2016
@chessbyte
Copy link
Member

@simaishi
Copy link
Contributor

chessbyte pushed a commit that referenced this pull request Dec 13, 2016
Fix for service dialog refreshing every time a dropdown item is selected
(cherry picked from commit 2cd0d32)

https://bugzilla.redhat.com/show_bug.cgi?id=1404403
@chessbyte
Copy link
Member

Darga Backport details:

$ git log -1
commit f8dde423da0ef20c2584188cd83ef2f9de7582b2
Author: Greg McCullough <gmccullo@redhat.com>
Date:   Thu Nov 17 14:39:48 2016 -0500

    Merge pull request #12718 from eclarizio/BZ1396167
    
    Fix for service dialog refreshing every time a dropdown item is selected
    (cherry picked from commit 2cd0d32b042751d1af5c153ef1b554a47ca7f36c)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1404403

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.

6 participants