Red Hat Bugzilla – Bug 1328828
Entered data in provision form of request tab is lost.
Last modified: 2017-12-05 10:18:46 EST
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:
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.
This issue is still reproducible in latest build Build Version 5.6.0.4-beta2.3.20160421172650_719e256
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
Harpreet, This is my appliance link 10.16.5.111 .You can reproduce this Bug. Thanks, ~Niyaz
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
https://github.com/ManageIQ/manageiq/pull/8374
https://github.com/ManageIQ/manageiq/pull/8421
https://github.com/ManageIQ/manageiq/pull/8544 fixes an issue introduced in https://github.com/ManageIQ/manageiq/pull/8421
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(-)
https://github.com/ManageIQ/manageiq/pull/8407
Entered data in request tab textboxes are not lost.Its Working Successfully verified in 5.6.0.6-beta2.5.20160511140943_ff75fb2
https://github.com/ManageIQ/manageiq/pull/8473
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(-)
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
*** Bug 1344062 has been marked as a duplicate of this bug. ***
*** Bug 1347704 has been marked as a duplicate of this bug. ***