Bug 1346007 - Importing a service dialog should invalidate Service Dialogs tree cache to rebuild it with current dialogs
Summary: Importing a service dialog should invalidate Service Dialogs tree cache to re...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: GA
: 5.7.0
Assignee: Brian McLaughlin
QA Contact: Shveta
URL:
Whiteboard: ui:dialog
Depends On:
Blocks: 1353310
TreeView+ depends on / blocked
 
Reported: 2016-06-13 16:11 UTC by Milan Falešník
Modified: 2017-01-12 04:58 UTC (History)
7 users (show)

Fixed In Version: 5.7.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1353310 (view as bug list)
Environment:
Last Closed: 2017-01-11 20:10:45 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Milan Falešník 2016-06-13 16:11:59 UTC
Description of problem:
When importing service dialogs, the tree in Service dialogs does not get invalidated.

Version-Release number of selected component (if applicable):
5.6.0.10-rc2.1

How reproducible:
always

Steps to Reproduce:
1. Go to Automate - Customization
2. Open the Service dialogs accordion, note the dialogs displayed there
3. Import a service dialog (or more) in the Import / Export accordion
3. Open the Service dialogs accordion again.

Actual results:
The table on right shows all the dialogs but the tree only shows the dialogs before the import

Expected results:
The tree should match the table.

Additional info:

Comment 5 CFME Bot 2016-07-07 16:11:29 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/b7009be7568c814ac68cafc00f43b665b984e7f3

commit b7009be7568c814ac68cafc00f43b665b984e7f3
Author:     Brian McLaughlin <bmclaugh>
AuthorDate: Tue Jul 5 10:49:06 2016 -0400
Commit:     Brian McLaughlin <bmclaugh>
CommitDate: Tue Jul 5 10:49:06 2016 -0400

    Refresh service dialogs tree after importing a service dialog
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1346007

 app/controllers/miq_ae_customization_controller.rb       | 2 +-
 spec/controllers/miq_ae_customization_controller_spec.rb | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

Comment 6 Shveta 2016-09-21 04:49:17 UTC
Fixed.
Verified in 5.7.0.0.20160906172503_12f65cb


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