-
Notifications
You must be signed in to change notification settings - Fork 356
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 show record after generic object custom button dialog run #2745
Fix show record after generic object custom button dialog run #2745
Conversation
@miq-bot add_label bug, gaprindashvili/yes |
0c31516
to
47deff5
Compare
@lgalis can you add before/after screenshots |
This pull request is not mergeable. Please rebase and repush. |
47deff5
to
78b7d14
Compare
Setting back to WIP to fix a new issue I see on master when running the CB dialog. |
80947a4
to
8c3fecd
Compare
cf1d685
to
c4fa865
Compare
@martinpovolny, @h-kataria - please review |
Merge branch 'master' of github.com:ManageIQ/manageiq-ui-classic into cb_dialog_run_return_to_nested_list
c4fa865
to
00c076a
Compare
00c076a
to
a171d82
Compare
toolbar | ||
end | ||
|
||
def custom_button_add_related_buttons(model, record, toolbar) | ||
# For Service, we include buttons for ServiceTemplate. | ||
# These buttons are added as a single group with multiple buttons | ||
if record.present? |
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.
@lgalis do we need this check, i see record being passed in from the caller
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.
yes, record may not always be present
Checked commits lgalis/manageiq-ui-classic@25cc68b~...53ec477 with ruby 2.3.3, rubocop 0.47.1, haml-lint 0.20.0, and yamllint 1.10.0 |
Fix show record after generic object custom button dialog run (cherry picked from commit e558369) https://bugzilla.redhat.com/show_bug.cgi?id=1531311
Gaprindashvili backport details:
|
The service title is incorrect after running a generic object custom button with a dialog from the service generic object summary page.
Links
https://bugzilla.redhat.com/show_bug.cgi?id=1512984
Before - errors when cancelling or submitting a dialog for a custom button
After: