Bug 1733263 - [hackathon] service reconfiguration looses updated values
Summary: [hackathon] service reconfiguration looses updated values
Status: POST
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.10.7
Hardware: All
OS: All
Target Milestone: GA
: 5.10.z
Assignee: Lucy Fu
QA Contact: Sudhir Mallamprabhakara
Red Hat CloudForms Documentation
Depends On:
TreeView+ depends on / blocked
Reported: 2019-07-25 14:36 UTC by Cyril Coupel
Modified: 2020-02-22 03:19 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:

Attachments (Terms of Use)

Description Cyril Coupel 2019-07-25 14:36:42 UTC
Description of problem:
when reconfiguring a service for a second time, the dialog values displayed in the dialog are not updated with the previous values but still contains the provisionned values.

Version-Release number of selected component (if applicable):

How reproducible:
every times

Steps to Reproduce:
1. order a catalog item with input valus (for example, field PARAM with value PARAM1)
2. once the service provisionned, do a reconfigure with different values (for example, field PARAM with NEW_PARAM2)
3. once the service updated, do an other reconfigure (for example, field PARAM show PARAM1 value)

Actual results:
the dialog field show the creation time values (for example field PARAM should be PARAM1)

Expected results:
the dialog field must show the last updated values (for example field PARAM should be NEW_PARAM2)

Additional info:

Comment 2 Tina Fitzgerald 2019-08-15 14:50:29 UTC
Hi Billy, 

Can you provide the reproducer ip?


Comment 3 William Fitzgerald 2019-08-15 15:06:55 UTC

Same results on appliance, reproducer:

Comment 4 Lucy Fu 2019-08-15 21:14:06 UTC
There is a :create_options section in options of the service which contains all the information used when creating the service.
Then there is an :update_options section which contains all the data used when updating the service.
The :update_options data should be displayed if it exists when reconfigure is called again for the service.

Forward the BZ to UI team.

Comment 6 CFME Bot 2019-12-09 19:55:52 UTC
New commit detected on ManageIQ/manageiq/master:

commit df01de81f73bae17ca66b21ea2dee659d64d5265
Author:     Lucy Fu <lufu@redhat.com>
AuthorDate: Tue Aug 20 17:48:23 2019 -0400
Commit:     Lucy Fu <lufu@redhat.com>
CommitDate: Tue Aug 20 17:48:23 2019 -0400

    Update service dialog options when reconfigure finishes well.

    Save the reconfigure dialog options into service.options[:dialog] if it finishes successfully.


 app/models/service_reconfigure_task.rb | 3 +
 spec/models/service_reconfigure_task_spec.rb | 14 +
 2 files changed, 17 insertions(+)

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