Bug 1702479 - unable to create or edit a service from the api with "Picture expected, got Hash" error
Summary: unable to create or edit a service from the api with "Picture expected, got H...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: API
Version: 5.9.7
Hardware: All
OS: All
low
low
Target Milestone: GA
: 5.10.4
Assignee: drew uhlmann
QA Contact: Parthvi Vala
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On: 1683723
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-23 21:47 UTC by Satoe Imaishi
Modified: 2019-12-16 18:01 UTC (History)
6 users (show)

Fixed In Version: 5.10.4.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1683723
Environment:
Last Closed: 2019-05-21 05:47:07 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ManageIQ integration_tests pull 9774 0 None None None 2019-12-16 18:01:16 UTC
Red Hat Product Errata RHBA-2019:1247 0 None None None 2019-05-21 05:47:14 UTC

Comment 2 CFME Bot 2019-04-24 19:48:24 UTC
New commit detected on ManageIQ/manageiq/hammer:

https://github.com/ManageIQ/manageiq/commit/8174dc3bbaf02b95971b941a670fc5c4e1921b52
commit 8174dc3bbaf02b95971b941a670fc5c4e1921b52
Author:     Joe Rafaniello <jrafanie.github.com>
AuthorDate: Tue Apr 23 14:25:10 2019 -0400
Commit:     Joe Rafaniello <jrafanie.github.com>
CommitDate: Tue Apr 23 14:25:10 2019 -0400

    Merge pull request #18674 from d-m-u/fix_creating_service_template_with_picture

    Handle picture correctly on service template update/create

    (cherry picked from commit d26ae5a0035a6ecead52e2850557e28e829f6f41)

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

 app/models/service_template.rb | 11 +-
 spec/models/service_template_spec.rb | 18 +
 2 files changed, 27 insertions(+), 2 deletions(-)

Comment 4 drew uhlmann 2019-04-26 12:39:00 UTC
Good catch, Parthvi! The working update is here: https://github.com/ManageIQ/manageiq/pull/18689

Comment 5 CFME Bot 2019-04-29 20:40:59 UTC
New commit detected on ManageIQ/manageiq/hammer:

https://github.com/ManageIQ/manageiq/commit/cebab02f23077496a12913e5ed97026c72c23443
commit cebab02f23077496a12913e5ed97026c72c23443
Author:     Joe Rafaniello <jrafanie.github.com>
AuthorDate: Mon Apr 29 16:21:33 2019 -0400
Commit:     Joe Rafaniello <jrafanie.github.com>
CommitDate: Mon Apr 29 16:21:33 2019 -0400

    Merge pull request #18689 from d-m-u/service_template_picture

    Service template picture

    (cherry picked from commit 5f37ae764a60ae0985235d4f0b70a791b5b43afa)

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

 app/models/service_template.rb | 21 +-
 spec/models/service_template_spec.rb | 49 +-
 2 files changed, 46 insertions(+), 24 deletions(-)

Comment 6 CFME Bot 2019-04-30 12:50:40 UTC
New commit detected on ManageIQ/manageiq/hammer:

https://github.com/ManageIQ/manageiq/commit/40a1d86809762479e79f0f654a28b1b8507f4223
commit 40a1d86809762479e79f0f654a28b1b8507f4223
Author:     Martin Povolny <mpovolny>
AuthorDate: Tue Apr 30 07:31:37 2019 -0400
Commit:     Martin Povolny <mpovolny>
CommitDate: Tue Apr 30 07:31:37 2019 -0400

    Merge pull request #18705 from NickLaMuro/fix_service_template_picture_equals

    Fix ServiceTemplate#picture= with models

    (cherry picked from commit f7fc0cbfff944f8a39466d77f8c5b1f90551c542)

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

 app/models/service_template.rb | 8 +-
 spec/models/service_template_spec.rb | 21 +
 2 files changed, 26 insertions(+), 3 deletions(-)

Comment 7 Parthvi Vala 2019-05-02 08:35:02 UTC
FIXED. Verified on 5.10.4.1.20190430152139_40a1d86.

Comment 9 errata-xmlrpc 2019-05-21 05:47:07 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/RHBA-2019:1247


Note You need to log in before you can comment on or make changes to this bug.