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

Imports old associations #16471

Merged
merged 1 commit into from
Nov 16, 2017
Merged

Conversation

d-m-u
Copy link
Contributor

@d-m-u d-m-u commented Nov 14, 2017

This extends the dialog field association import code to also deal with the now-defunct associations listed as trigger_auto_refresh and auto_refresh. It's the same code as the recent data migration that does this import and should allow people to import old dialogs and have the associations converted to use the new table.

@d-m-u
Copy link
Contributor Author

d-m-u commented Nov 14, 2017

@miq-bot assign @gmcculloug
@miq-bot add_label enhancement

@d-m-u
Copy link
Contributor Author

d-m-u commented Nov 14, 2017

@eclarizio can you review, pretty please?

Copy link
Member

@eclarizio eclarizio left a comment

Choose a reason for hiding this comment

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

Think you can add a spec around the other "associations" spec (on master it's at line 187) that actually checks to make sure the right association was made? That's the whole point of doing the .position and everything, so I feel like it would be good to have a spec around it.

@d-m-u d-m-u changed the title Imports old associations [WIP] Imports old associations Nov 14, 2017
@miq-bot miq-bot added the wip label Nov 14, 2017
@d-m-u d-m-u changed the title [WIP] Imports old associations Imports old associations Nov 14, 2017
Copy link
Member

@eclarizio eclarizio left a comment

Choose a reason for hiding this comment

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

👍

@miq-bot miq-bot removed the wip label Nov 14, 2017
@miq-bot
Copy link
Member

miq-bot commented Nov 14, 2017

Checked commit d-m-u@83106af with ruby 2.3.3, rubocop 0.47.1, haml-lint 0.20.0, and yamllint 1.10.0
2 files checked, 0 offenses detected
Everything looks fine. 🍰

@eclarizio
Copy link
Member

@miq-bot add_label gaprindashvili/yes

@d-m-u
Copy link
Contributor Author

d-m-u commented Nov 16, 2017

thanks @eclarizio

@gmcculloug gmcculloug merged commit 6edddb7 into ManageIQ:master Nov 16, 2017
@gmcculloug gmcculloug added this to the Sprint 74 Ending Nov 27, 2017 milestone Nov 16, 2017
@d-m-u d-m-u deleted the import_old_df_associations branch November 16, 2017 16:39
simaishi pushed a commit that referenced this pull request Nov 17, 2017
Imports old associations
(cherry picked from commit 6edddb7)
@simaishi
Copy link
Contributor

Gaprindashvili backport details:

$ git log -1
commit de5964abb5e5e9837a65b2aeea59d4b9025de837
Author: Greg McCullough <gmccullo@redhat.com>
Date:   Thu Nov 16 11:36:01 2017 -0500

    Merge pull request #16471 from d-m-u/import_old_df_associations
    
    Imports old associations
    (cherry picked from commit 6edddb761a26b5f56395e6e4315f62b93ad8a118)

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.

5 participants