Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1328828 - Entered data in provision form of request tab is lost.
Entered data in provision form of request tab is lost.
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS (Show other bugs)
5.6.0
Unspecified Unspecified
high Severity medium
: Beta 2
: 5.6.0
Assigned To: Martin Hradil
Niyaz Akhtar Ansari
provision
: ZStream
: 1344062 1347704 (view as bug list)
Depends On:
Blocks: 1347704 1347705 1350968
  Show dependency treegraph
 
Reported: 2016-04-20 07:26 EDT by Niyaz Akhtar Ansari
Modified: 2017-12-05 10:18 EST (History)
13 users (show)

See Also:
Fixed In Version: 5.6.0.6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1350968 (view as bug list)
Environment:
Last Closed: 2016-06-29 11:51:34 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
nansari: automate_bug+


Attachments (Terms of Use)
screenshot (60.32 KB, image/png)
2016-04-20 07:26 EDT, Niyaz Akhtar Ansari
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 14:50:04 EDT

  None (edit)
Description Niyaz Akhtar Ansari 2016-04-20 07:26:27 EDT
Created attachment 1149041 [details]
screenshot

Description of problem:


Version-Release number of selected component (if applicable):
5.6.0.1-beta2.20160413141124_e25ac0e

How reproducible:
100%

Steps to Reproduce:
1.Navigate to infrastructure->Virtual Machines->Provision VMs
2.Select Template and click on Continue->fill all required details in provision form 
3.after filling the form again navigate to request tab.

Actual results:
The data entered in request tab textboxes is lost.

Expected results:
The values should not be lost. 

Additional info:
Comment 2 Greg McCullough 2016-04-20 10:27:29 EDT
This was also reported as a git issue here: https://github.com/ManageIQ/manageiq/issues/8054

I tested with the latest upstream and this is working.  Can you please retest with the next build.
Comment 3 Niyaz Akhtar Ansari 2016-04-26 04:46:05 EDT
This issue is still reproducible in latest build 

Build Version 5.6.0.4-beta2.3.20160421172650_719e256
Comment 5 Harpreet Kataria 2016-04-28 17:29:43 EDT
Niyaz,

Can you please provide a link to an appliance where i can see this happening. I am unable to recreate this issue locally on a latest upstream codebase.

Thanks,
~Harpreet
Comment 6 Niyaz Akhtar Ansari 2016-04-29 03:11:41 EDT
Harpreet,

This is my appliance link 10.16.5.111 .You can reproduce this Bug.

Thanks,
~Niyaz
Comment 7 Martin Povolny 2016-04-29 15:10:27 EDT
Looking at the issue using the browser debugger, I think that what is happening here is this:

* the appliance is pretty slow
* you are typing and clicking fast
* this form was not converted to angular

what is happening is that the on-field-change updates etc. take too long or do not fire yet as you fill in stuff in the form

therefor if you click next tab and then back some of the stuff you typed is lost, because it was not yet saved to the server

do not really know what to do here atm. We will rewrite this form to angular at some point.

For now
a) type slower
b) get a better virtual HW for your appliance
Comment 9 Martin Hradil 2016-05-04 03:20:36 EDT
https://github.com/ManageIQ/manageiq/pull/8421
Comment 10 Harpreet Kataria 2016-05-09 11:54:03 EDT
https://github.com/ManageIQ/manageiq/pull/8544 fixes an issue introduced in https://github.com/ManageIQ/manageiq/pull/8421
Comment 11 CFME Bot 2016-05-09 16:45:58 EDT
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/b1872d436d2c70f67ed97c5d9df55bddcf2b4b79

commit b1872d436d2c70f67ed97c5d9df55bddcf2b4b79
Author:     Harpreet Kataria <hkataria@redhat.com>
AuthorDate: Mon May 9 10:17:19 2016 -0400
Commit:     Harpreet Kataria <hkataria@redhat.com>
CommitDate: Mon May 9 12:29:45 2016 -0400

    Removed .off on change event from bootstrap selects
    
    Don't need to turn off on change event on selects as there are no other observers on the selects. This was causing it to not display selected value as selected in selects after user made a selection on some of the selects.
    
    Fixes #8537
    https://bugzilla.redhat.com/show_bug.cgi?id=1328828

 app/assets/javascripts/miq_application.js | 1 -
 1 file changed, 1 deletion(-)
Comment 13 Niyaz Akhtar Ansari 2016-05-12 02:38:32 EDT
Entered data in request tab textboxes are not lost.Its Working Successfully  

verified in 5.6.0.6-beta2.5.20160511140943_ff75fb2
Comment 15 CFME Bot 2016-06-21 13:37:57 EDT
New commit detected on cfme/5.5.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=4656e1dcec2fc5458be64a6f8bbd7b937e4ab4e2

commit 4656e1dcec2fc5458be64a6f8bbd7b937e4ab4e2
Author:     Harpreet Kataria <hkataria@redhat.com>
AuthorDate: Mon May 9 10:17:19 2016 -0400
Commit:     Martin Hradil <mhradil@redhat.com>
CommitDate: Tue Jun 21 15:32:59 2016 +0000

    Removed .off on change event from bootstrap selects
    
    Don't need to turn off on change event on selects as there are no other observers on the selects. This was causing it to not display selected value as selected in selects after user made a selection on some of the selects.
    
    Fixes #8537
    https://bugzilla.redhat.com/show_bug.cgi?id=1328828
    
    (cherry picked from commit b1872d436d2c70f67ed97c5d9df55bddcf2b4b79)

 app/assets/javascripts/miq_application.js | 1 -
 1 file changed, 1 deletion(-)
Comment 18 errata-xmlrpc 2016-06-29 11:51:34 EDT
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-2016:1348
Comment 19 eclarizi 2016-07-08 13:47:27 EDT
*** Bug 1344062 has been marked as a duplicate of this bug. ***
Comment 20 eclarizi 2016-07-08 13:50:44 EDT
*** Bug 1347704 has been marked as a duplicate of this bug. ***

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