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 loop conditional on provisioning workflow volume form #2890

Merged

Conversation

mansam
Copy link
Contributor

@mansam mansam commented Nov 30, 2017

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1506466
The problem described in the BZ was occuring because the
loop that builds the volume provisioning form was checking
the wrong hash keys for its condition and terminating
early.

@mansam
Copy link
Contributor Author

mansam commented Nov 30, 2017

@miq-bot add_label bug
@miq-bot add_label fine/yes
@miq-bot add_label gaprindashvili/yes

@@ -17,6 +17,7 @@

.form-horizontal#add-volumes-form
- while (draw_fields)
= options
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm trying to understand why is the above line here? Why are we rendering the options hash here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, that's a debug line that got left in. Thanks for noticing it.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1506466
The problem described in the BZ was occuring because the
loop that builds the volume provisioning form was checking
the wrong hash keys for its condition and terminating
early.
@mansam mansam force-pushed the fix-provisioning-workflow-volume-form branch from 88b3443 to f731e0d Compare December 1, 2017 19:18
@miq-bot
Copy link
Member

miq-bot commented Dec 1, 2017

Checked commit mansam@f731e0d with ruby 2.3.3, rubocop 0.47.1, haml-lint 0.20.0, and yamllint 1.10.0
1 file checked, 0 offenses detected
Everything looks fine. 🍰

@mzazrivec mzazrivec self-assigned this Dec 4, 2017
@mzazrivec mzazrivec added this to the Sprint 75 Ending Dec 11, 2017 milestone Dec 4, 2017
@mzazrivec mzazrivec merged commit 45d70e8 into ManageIQ:master Dec 4, 2017
@simaishi
Copy link
Contributor

simaishi commented Dec 4, 2017

@mansam Can this be euwe/yes? The BZ indicates this needs to be fixed in Euwe as well.

simaishi pushed a commit that referenced this pull request Dec 4, 2017
…-form

Fix loop conditional on provisioning workflow volume form
(cherry picked from commit 45d70e8)

https://bugzilla.redhat.com/show_bug.cgi?id=1520540
@simaishi
Copy link
Contributor

simaishi commented Dec 4, 2017

Gaprindashvili backport details:

$ git log -1
commit 29f756dea3e512d389cfa661f6b5c54fd45bc82b
Author: Milan Zázrivec <mzazrivec@redhat.com>
Date:   Mon Dec 4 08:42:15 2017 +0100

    Merge pull request #2890 from mansam/fix-provisioning-workflow-volume-form
    
    Fix loop conditional on provisioning workflow volume form
    (cherry picked from commit 45d70e83af28dc3e9bed36cd45b8de7b6503bfed)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1520540

@mansam
Copy link
Contributor Author

mansam commented Dec 4, 2017

@simaishi Yes I believe this can be backported to Euwe.

@mansam
Copy link
Contributor Author

mansam commented Dec 4, 2017

@miq-bot add_label euwe/yes

@simaishi
Copy link
Contributor

simaishi commented Dec 4, 2017

Euwe backport details:

$ git log -1
commit 166a4fa21b5d7f0f8f2cb07dc57c387b1acadd15
Author: Milan Zázrivec <mzazrivec@redhat.com>
Date:   Mon Dec 4 08:42:15 2017 +0100

    Merge pull request #2890 from mansam/fix-provisioning-workflow-volume-form
    
    Fix loop conditional on provisioning workflow volume form
    (cherry picked from commit 45d70e83af28dc3e9bed36cd45b8de7b6503bfed)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1520542

simaishi pushed a commit that referenced this pull request Dec 7, 2017
…-form

Fix loop conditional on provisioning workflow volume form
(cherry picked from commit 45d70e8)

https://bugzilla.redhat.com/show_bug.cgi?id=1520541
@simaishi
Copy link
Contributor

simaishi commented Dec 7, 2017

Fine backport details:

$ git log -1
commit f2be54e51a537ec23a521876c1479f1a0f629f6a
Author: Milan Zázrivec <mzazrivec@redhat.com>
Date:   Mon Dec 4 08:42:15 2017 +0100

    Merge pull request #2890 from mansam/fix-provisioning-workflow-volume-form
    
    Fix loop conditional on provisioning workflow volume form
    (cherry picked from commit 45d70e83af28dc3e9bed36cd45b8de7b6503bfed)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1520541

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.

4 participants