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 failure to update service dialog - Couldn't find DialogField without an ID #16753

Merged
merged 2 commits into from
Jan 8, 2018

Conversation

eclarizio
Copy link
Member

@eclarizio eclarizio commented Jan 5, 2018

The problem is that when creating or editing a dialog, whenever you add a dynamic field, the field does not yet have an ID because it hasn't been saved. So we must build the association list by names and then after saving all of the fields build the associations afterwards. This PR will need to be coordinated with this ui-components PR for the bug to be fully fixed.

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

@miq-bot add_label gaprindashvili/yes, bug

@d-m-u @gmcculloug Please review

@miq-bot
Copy link
Member

miq-bot commented Jan 5, 2018

Checked commits eclarizio/manageiq@97734c9~...e442aa8 with ruby 2.3.3, rubocop 0.47.1, haml-lint 0.20.0, and yamllint 1.10.0
5 files checked, 0 offenses detected
Everything looks fine. 🏆

@gmcculloug gmcculloug requested a review from d-m-u January 5, 2018 21:28
@gmcculloug gmcculloug self-assigned this Jan 5, 2018
Copy link
Contributor

@d-m-u d-m-u left a comment

Choose a reason for hiding this comment

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

lgtm 👍

@martinpovolny martinpovolny merged commit cb5544d into ManageIQ:master Jan 8, 2018
@martinpovolny martinpovolny added this to the Sprint 77 Ending Jan 15, 2018 milestone Jan 8, 2018
simaishi pushed a commit that referenced this pull request Jan 9, 2018
Fix for failure to update service dialog - Couldn't find DialogField without an ID
(cherry picked from commit cb5544d)

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

simaishi commented Jan 9, 2018

Gaprindashvili backport details:

$ git log -1
commit 7ac9852562f2ee4a90169724bcdbda4e7a050c47
Author: Martin Povolny <mpovolny@redhat.com>
Date:   Mon Jan 8 14:47:34 2018 +0100

    Merge pull request #16753 from eclarizio/BZ1518942
    
    Fix for failure to update service dialog - Couldn't find DialogField without an ID
    (cherry picked from commit cb5544d63e1c99107122f145dbc5d8b78d780dd0)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1532642

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