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

[IVANCHUK] Toolbar delete button for Button/Button Group goes via generic API de… #6380

Merged

Conversation

ZitaNemeckova
Copy link
Contributor

@ZitaNemeckova ZitaNemeckova commented Nov 6, 2019

Ivanchuk version of #6230 and #6214 (that got reverted by #6230)

Fixes:
https://bugzilla.redhat.com/show_bug.cgi?id=1744478
https://bugzilla.redhat.com/show_bug.cgi?id=1753289

Go to Automation -> Automate -> Generic Objects -> delete a custom button (delete a custom button group to make sure it works as well)

Before:
image
or
Screenshot 2019-09-23 at 15 45 02

After:
Screenshot 2019-09-19 at 14 26 16

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

Go to Automation -> Automate -> Generic Objects - > delete a custom button(with or without Custom Button Group it shouldn't matter)

Actual result:
There's an error popup and message for a sec. See Before pic.

Expected result:
No error message/popup. See After pic.

According to the BZ it happens in 70%.

This fix should work for all possible delete actions on Generic Object Definition page.

Before:
Screenshot 2019-09-24 at 14 58 14
After:
image

@miq-bot add_label wip

@miq-bot miq-bot changed the title Toolbar delete button for Button/Button Group goes via generic API de… [WIP] Toolbar delete button for Button/Button Group goes via generic API de… Nov 6, 2019
@miq-bot miq-bot added the wip label Nov 6, 2019
@miq-bot miq-bot changed the title [WIP] Toolbar delete button for Button/Button Group goes via generic API de… [IVANCHUK] [WIP] Toolbar delete button for Button/Button Group goes via generic API de… Nov 6, 2019
@ZitaNemeckova ZitaNemeckova force-pushed the ivanchuk_delete_button_fix branch from b3ea111 to 4a9d484 Compare November 7, 2019 11:57
@miq-bot
Copy link
Member

miq-bot commented Nov 7, 2019

Checked commit ZitaNemeckova@4a9d484 with ruby 2.4.6, rubocop 0.69.0, haml-lint 0.20.0, and yamllint 1.10.0
6 files checked, 0 offenses detected
Everything looks fine. 🍪

@simaishi simaishi self-assigned this Nov 7, 2019
@ZitaNemeckova
Copy link
Contributor Author

@miq-bot remove_label wip

@h-kataria please have a look, thanks :)

@miq-bot miq-bot removed the wip label Nov 11, 2019
@ZitaNemeckova ZitaNemeckova changed the title [IVANCHUK] [WIP] Toolbar delete button for Button/Button Group goes via generic API de… [IVANCHUK] Toolbar delete button for Button/Button Group goes via generic API de… Nov 13, 2019
@ZitaNemeckova
Copy link
Contributor Author

@miq-bot add_label bug

@miq-bot miq-bot added the bug label Nov 13, 2019
@simaishi simaishi merged commit 799bc8c into ManageIQ:ivanchuk Nov 18, 2019
@simaishi simaishi added this to the Sprint 125 Ending Nov 25, 2019 milestone Nov 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants