-
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 find_checked_items #4355
fix find_checked_items #4355
Conversation
Checked commit matheuscmelo@d22aeba with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
ping @romanblanco , @PanSpagetka |
With @romanblanco we are trying to verify this change, but we are having some troubles with reproducing it. This |
@matheuscmelo I've tried the temporary fix you've mentioned in a chat:
but this takes me just to a routing error |
Testing:
Verified that the method works as intended. (Accepting a value different than |
@matheuscmelo and what's in |
@himdel |
@romanblanco @PanSpagetka @himdel any news? |
@matheuscmelo Ah, sorry about that... So.. I don't think we can change the behaviour of The reason you're getting those But... however much I'm trying, I can't reproduce your problem... Go to Compute > Physical Infrastructure > Providers (url = ... what I'm seeing in the request:
So.. while those TLDR: |
@himdel actually it only occurs in Lifecycle > Provision button. If you select the first and others servers, it only indicates the first. If you don't select the first and select others, it blows a error. |
I've just analyze a little bit the problem and I think that we can solve this issue by adding button(
:physical_server_provision,
'pficon pficon-add-circle-o fa-lg',
t = N_('Provision Physical Server'),
t,
:url => "provision",
:send_checked => true,
:url_parms => "main_div",
:klass => ApplicationHelper::Button::PhysicalServerProvision
) This way the |
👍
yes, that should be set |
Thanks @douglasgabriel for the answer and @himdel @PanSpagetka @martinpovolny @romanblanco for the help. I'll open another PR and close this one. |
if
:miq_grid_checks
is not present inparams
, this method only returns 1 or no ids.this PR fixes it.