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

GTL: do not set parent_id directly from params[:id]. #2631

Merged
merged 1 commit into from
Nov 6, 2017

Conversation

martinpovolny
Copy link
Member

@martinpovolny martinpovolny commented Nov 4, 2017

This was introduced in #2383

I am failing to find a usecase where the assignment from params[:id]
would be needed so I am removing it.

Fixes:
https://bugzilla.redhat.com/show_bug.cgi?id=1509171
Changing ownership from VM detail page.

Ping @karelhala I need to figure out why this was needed. Want to be sure it does not break something elsewhere.

This was introduced in ManageIQ#2383

I am failing to find a usecase where the assignment from params[:id]
would be needed so I am removing it.

Fixes:
https://bugzilla.redhat.com/show_bug.cgi?id=1509171
@miq-bot
Copy link
Member

miq-bot commented Nov 4, 2017

Checked commit martinpovolny@06c6b66 with ruby 2.3.3, rubocop 0.47.1, and haml-lint 0.20.0
0 files checked, 0 offenses detected
Everything looks fine. 🏆

@karelhala
Copy link
Contributor

@mzazrivec looks good to me, can you merge it?

@mzazrivec mzazrivec self-assigned this Nov 6, 2017
@mzazrivec mzazrivec added the bug label Nov 6, 2017
@mzazrivec mzazrivec added this to the Sprint 73 Ending Nov 13, 2017 milestone Nov 6, 2017
@mzazrivec mzazrivec merged commit cd70754 into ManageIQ:master Nov 6, 2017
simaishi pushed a commit that referenced this pull request Nov 7, 2017
GTL: do not set parent_id directly  from params[:id].
(cherry picked from commit cd70754)

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

simaishi commented Nov 7, 2017

Gaprindashvili backport details:

$ git log -1
commit 4304f0b8fc49c7368602c305142cf20375a775a0
Author: Milan Zázrivec <mzazrivec@redhat.com>
Date:   Mon Nov 6 10:53:28 2017 +0100

    Merge pull request #2631 from martinpovolny/set_ownership_fix
    
    GTL: do not set parent_id directly  from params[:id].
    (cherry picked from commit cd70754f33b1ef112fbb220baea02b62f1054a39)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1510505

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.

5 participants