Bug 900583 (JBPAPP6-945)
| Summary: | Installer: UI bug : Text fields do not persist the modified data and show blank as user clicks Next ,proceeds then returns back with previous | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Madhumita Sadhukhan <msadhukh> | ||||
| Component: | Installer | Assignee: | Dustin Kut Moy Cheung <dcheung> | ||||
| Status: | CLOSED NEXTRELEASE | QA Contact: | |||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 6.0.0 | CC: | bgeorges, dcheung, msadhukh, pslavice, twells | ||||
| Target Milestone: | --- | ||||||
| Target Release: | EAP 6.0.1 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| URL: | http://jira.jboss.org/jira/browse/JBPAPP6-945 | ||||||
| Whiteboard: | Installer | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-10-19 04:24:57 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 900726, 900727 | ||||||
| Attachments: |
|
||||||
|
Description
Madhumita Sadhukhan
2012-06-04 13:07:29 UTC
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 |