Affects: Release Notes project_key: JBPAPP6 While running through the custom configuration for ports in installation process using Installers I found that if I modify some fields and click Next and later return to that page again to make some more changes the field shows blank in some cases. This must be fixed as user loses the information . For eg I added name for an optional field https.port in Socket Binding(standalone) and proceeded with Next. When icame back to modify it again both the name and port fields showed balnk as seen in attached screenshot. In this case user even loses port information which he never changed. These textboxes should persist information onchanged.
Attachment: Added: UIbug.png
http://git.app.eng.bos.redhat.com/?p=izpack.git;a=commit;h=6c60d02baaa8af25e70836b6eeebf118c7d825ae http://git.app.eng.bos.redhat.com/?p=jbossas-installer.git;a=commit;h=db1bdbb006438801d67781cb259a2d559bfe5366 [Detailed explanation of the fix] The initial and final variables in those text fields were the same. So $foo = initial variable = final variable And the set (initial) value that is displayed is just the value of variable $foo. When you specify a different port number, $foo will be updated to take the specified port number. This does not cause any problems when you click Next, then Back again. However, if you also specify a System Property value, $foo will then become ${sys-property:port-number} Notice that if you do not specify a system property, $foo can be parsed to a number; however when specifying a system-propery, this is no more possible. When specifying a system-property, then clicking Next and then Back, the port and system property disappear. This is because $foo is no more a number, and the port number field cannot validate $foo anymore. The fix was to make initial variable != final variable. So if initial variable = $foo, final variable = $foo_final. However, this means that $foo is no more updated, and when clicking back, even though $foo_final was updated to get the user-specified value, $foo will still show the default value and not the user defined one. To fix this, Izpack now also updates $foo with the user-specified value.
Labels: Added: Installer
Link: Added: This issue is a dependency of JBPAPP-9554
Link: Added: This issue is a dependency of JBPAPP-9555
text box inputs seem to be correctly updated in EAP 6.0.1.ER2 installer
Does this need a release note for EAP 6.0.1? The issue needs to be re-opened if it does, and the release notes flags set (Affects Release Notes, Not Yet Documented).
reopening to add release notes info
Release Notes Docs Status: Added: Documented as Resolved Issue Writer: Added: Darrin Release Notes Text: Added: In the installation wizard, only a single variable was used to store both the default value displayed by each data entry field and the value entered by the user. If the user clicked "Back" on any stage of the wizard, the fields on the page would reset to the default values and the previously entered value would be lost. An additional variable has been added for each data entry field. The user entered data now correctly persists when the user navigates back and forward through the pages of the installation wizard.
documented as resolved for 6.0.1
Affects: Added: Release Notes
verified release notes
Release Notes Docs Status: Removed: Documented as Resolved Issue Writer: Removed: Darrin Release Notes Text: Removed: In the installation wizard, only a single variable was used to store both the default value displayed by each data entry field and the value entered by the user. If the user clicked "Back" on any stage of the wizard, the fields on the page would reset to the default values and the previously entered value would be lost. An additional variable has been added for each data entry field. The user entered data now correctly persists when the user navigates back and forward through the pages of the installation wizard. Docs QE Status: Removed: NEW