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

Fixed MiqSearch.seed when search name was changed and corrected typo miq_search.yml #19151

Merged
merged 3 commits into from
Aug 15, 2019

Conversation

yrudman
Copy link
Contributor

@yrudman yrudman commented Aug 14, 2019

ISSUE: If name of search changed in db/fixtures/miq_search.yml than second record created in addition to the old one

FIX: change MiqSearch.seed to destroy records representing default searches which we are not supplying anymore

This PR also fixed typo in db/fixtures/miq_search.yml, which was introduced in #17815
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1740309

@miq-bot add-label bug, core, changelog/yes, hammer/yes, ivanchuk/yes

@miq-bot
Copy link
Member

miq-bot commented Aug 14, 2019

Checked commits yrudman/manageiq@ed28613~...fe6fadd with ruby 2.4.6, rubocop 0.69.0, haml-lint 0.20.0, and yamllint 1.10.0
2 files checked, 0 offenses detected
Everything looks fine. ⭐

@yrudman yrudman changed the title Fix seeding when name of search in db/fixtures/miq_search.yml was changed Fix typo in search name and seeding when name of search in db/fixtures/miq_search.yml was changed Aug 14, 2019
@yrudman
Copy link
Contributor Author

yrudman commented Aug 14, 2019

@Fryguy @gtanzillo

@yrudman yrudman changed the title Fix typo in search name and seeding when name of search in db/fixtures/miq_search.yml was changed Fixed MiqSearch.seeding when search name was changed and corrected typo miq_search.yml Aug 15, 2019
@yrudman yrudman changed the title Fixed MiqSearch.seeding when search name was changed and corrected typo miq_search.yml Fixed MiqSearch.seed when search name was changed and corrected typo miq_search.yml Aug 15, 2019
@Fryguy Fryguy merged commit 0e86685 into ManageIQ:master Aug 15, 2019
@Fryguy Fryguy added this to the Sprint 118 Ending Aug 19, 2019 milestone Aug 15, 2019
@Fryguy Fryguy self-assigned this Aug 15, 2019
@yrudman yrudman deleted the fix-seed-miq-search branch August 15, 2019 18:03
@yrudman
Copy link
Contributor Author

yrudman commented Aug 16, 2019

@miq-bot add-label blocker

simaishi pushed a commit that referenced this pull request Nov 1, 2019
Fixed MiqSearch.seed  when search name was changed and corrected typo miq_search.yml

(cherry picked from commit 0e86685)

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

simaishi commented Nov 1, 2019

Ivanchuk backport details:

$ git log -1
commit f89f6c33434d6eb709a1896108a5adf9cf68e739
Author: Jason Frey <jfrey@redhat.com>
Date:   Thu Aug 15 13:58:40 2019 -0400

    Merge pull request #19151 from yrudman/fix-seed-miq-search
    
    Fixed MiqSearch.seed  when search name was changed and corrected typo miq_search.yml
    
    (cherry picked from commit 0e866857b683d190c81478139b68680aea5ac1b2)
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1767777

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