Bug 1559999 - in certain situations the refresh methods are called on every single refresh
Summary: in certain situations the refresh methods are called on every single refresh
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.9.0
Hardware: All
OS: All
high
medium
Target Milestone: GA
: 5.10.0
Assignee: eclarizi
QA Contact: Niyaz Akhtar Ansari
URL:
Whiteboard:
Depends On:
Blocks: 1573990
TreeView+ depends on / blocked
 
Reported: 2018-03-23 17:14 UTC by Felix Dewaleyne
Modified: 2021-06-10 15:29 UTC (History)
9 users (show)

Fixed In Version: 5.10.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1573990 (view as bug list)
Environment:
Last Closed: 2019-02-11 14:04:14 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Felix Dewaleyne 2018-03-23 17:14:56 UTC
Description of problem:
in certain situations the refresh methods are called on every single refresh 

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

How reproducible:
all the time

Steps to Reproduce:
1. create a dialog with two text fields with no refresh relation between them, showing their refresh buttons.
2. associate each to a different method that just logs 'Refreshing X'
3. associating the dialog to a catalog item
4. tail -f log/automation.log | grep "Refreshing"
5. load the dialog
6. click "refresh" for field 2

Actual results:
When you click on refresh you can see the refresh method for field 1 has been called before that of field 2 and followed by another run of the method of field2

Expected results:
when clicking refresh for text field 2 only text field 2 is refreshed

Additional info:
this can't be reproduced if using 2 droplists instead of two textfields.

Comment 6 Tina Fitzgerald 2018-04-27 15:23:25 UTC
These PRs resolve the reported issue: 
https://github.com/ManageIQ/manageiq-api/pull/365
https://github.com/ManageIQ/manageiq/pull/17329

Comment 7 Chris Pelland 2018-05-01 21:19:06 UTC
Is this a Duplicate of this BZ?
https://bugzilla.redhat.com/show_bug.cgi?id=1571000

Comment 8 Felix Dewaleyne 2018-05-02 08:39:36 UTC
(In reply to Chris Pelland from comment #7)
> Is this a Duplicate of this BZ?
> https://bugzilla.redhat.com/show_bug.cgi?id=1571000

not sure. this issue was limited to a type of field. it's possible that more elements are affected than the textfield one.

this was opened against 5.9.0, but the other is against 5.9.1, could be that the problem worsened with the errata.

Comment 10 Niyaz Akhtar Ansari 2018-09-04 11:56:17 UTC
Verified in Version 5.10.0.14.20180831154906_2f9a1dd


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