Bug 1551692

Summary: internal server error ActiveRecord::AssociationTypeMismatch when editing current_group
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: APIAssignee: Gregg Tanzillo <gtanzill>
Status: CLOSED ERRATA QA Contact: Martin Kourim <mkourim>
Severity: high Docs Contact:
Priority: high    
Version: 5.9.0CC: cpelland, gtanzill, obarenbo
Target Milestone: GAKeywords: ZStream
Target Release: 5.9.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: api:rest
Fixed In Version: 5.9.2.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1549086 Environment:
Last Closed: 2018-05-07 20:42:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1549086    
Bug Blocks:    

Comment 2 CFME Bot 2018-03-07 20:08:34 UTC
New commit detected on ManageIQ/manageiq-api/gaprindashvili:

https://github.com/ManageIQ/manageiq-api/commit/7f0cf0fbb32b5aef2ac8c41ab54082767f373344
commit 7f0cf0fbb32b5aef2ac8c41ab54082767f373344
Author:     Alberto Bellotti <abellotti.github.com>
AuthorDate: Tue Feb 27 09:29:01 2018 -0500
Commit:     Alberto Bellotti <abellotti.github.com>
CommitDate: Tue Feb 27 09:29:01 2018 -0500

    Merge pull request #329 from jntullo/bz_1549086

    Raise bad request when current_group is specified on edit
    (cherry picked from commit 40cf625ebcbf56b9df316196463bbc6c011aaf92)

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

 app/controllers/api/users_controller.rb | 4 +-
 spec/requests/users_spec.rb | 21 +
 2 files changed, 23 insertions(+), 2 deletions(-)

Comment 4 Martin Kourim 2018-03-28 13:25:06 UTC
Verified on 5.9.2.0 using our test automation.

Comment 7 errata-xmlrpc 2018-05-07 20:42:43 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:1328