-
Notifications
You must be signed in to change notification settings - Fork 897
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: do not raise error if schedule for widget exists but not linked #19037
Fix: do not raise error if schedule for widget exists but not linked #19037
Conversation
@miq-bot add-label ivanchuk/yes |
@yrudman Cannot apply the following label because they are not recognized: ivanchuk/yes |
0f7a0a1
to
48128a2
Compare
@miq-bot add-label ivanchuk/yes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from a code perspective this looks close.
I don't understand the reasoning... but am ok with merging.
Is there someone who understands the reasoning for this?
found #18489 when started looking at another BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1734076 - failing validation on the same report name instead of widget |
26c4191
to
4f2478b
Compare
@kbrock @gtanzillo on the second thought, - may be we should merge this PR, it brings no harm .... |
So there are duplicate reports. And both of them got scheduled. So we have duplicate schedules. Not sure how modifying the schedules so they look different fixes our underlying issue: a report that is deprecated was not removed. (Or maybe the root cause is a different issue, and I'm confused) |
I am confused to. |
3186fb5
to
7d3c152
Compare
@miq-bot add-label changelog/yes |
@gtanzillo @kbrock @bdunne can this be merged if there are no other objections ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
…d reuse it instead of raising error. It would resolve issue with failing seeding in case when chedule exists but not libked to corresponding widget. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1729441
117f935
to
ef41d44
Compare
…ll as fixing different typos
ef41d44
to
5384b1c
Compare
Checked commits yrudman/manageiq@484c881~...5384b1c with ruby 2.4.6, rubocop 0.69.0, haml-lint 0.20.0, and yamllint 1.10.0 |
…-seeding Fix: do not raise error if schedule for widget exists but not linked (cherry picked from commit a248ba3) https://bugzilla.redhat.com/show_bug.cgi?id=1729441
Ivanchuk backport details:
|
…-seeding Fix: do not raise error if schedule for widget exists but not linked (cherry picked from commit a248ba3) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1740229
Hammer backport details:
|
It would resolve issue with failing seeding in case when schedule exists but not linked to corresponding widget.
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1729441
@miq-bot add-label bug, core, hammer/yes
\cc @gtanzillo