To repeat: bring up installer page, fill out db connection info (including password). Click "Test Connection". The connection test passes (green icon), but the password field has been cleared and the user is forced to re-enter their password. This is a regression in the latest qa build, in all previous builds the field would remain intact.
If this is easy and quick to do then lets do it, otherwise push.
this button actually performs a full-page form submit, an action, then redirects back to itself. to fix this, we'd have to move to an ajax-y button whose action handler updated some element on the page. pretty simple, but i vote to push given the time left in this release.
+1 on pushing. This is annoying but not a showstopper.
This is a regression, it used to work fine. How is ajax required now, but not before?
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-2222
IIRC currently the user is not required to re-enter their password after testing the DB connection
This is still an issue in JON 3.0.CR2. The password field gets blanked out after the Test Connection button is clicked, and then the installer allows the user to click the Install button even though the password is blank (password should be a required field so validation fails if it is blank..), and then the install fails and causes the rhq oracle user to be locked due to too many failed attempts trying to login with a blank password.
Maintaining the password value is actually not easy given the installer impl. This should probably be fixed as a result of building a new installer implemented in SmartGWT, as part of our move away from JSF. In the interim, I'll see if I can just ensure that we have a value filled in prior to exiting the page.
commit 14256b6e778bbb02703dd82e1804f69d2b639f64 An attempt to improve the situation by alerting the user, and not processing "Test Connection" or "Install Server!" buttons, if the password field is empty. - Note, the message displayed is in English since I'm not proficient enough to figure out how to get javascript to interact with the resource bundle. Test Notes Would need to test this on the supported browsers I guess.
Verified in master build#848 Verified on browsers Firefox 3.x , IE 8 and chrome. If password field is empty and user clicks on the "Test Connection" button on the installer page, it displays a message "Please enter database password".
*** Bug 772226 has been marked as a duplicate of this bug. ***
Setting this back to ONQA to make sure that "Install Server!" button doesn't trigger an install attempt if the database password field is empty. This should prevent the issue which Ian mentioned.
additionally verified the testpoint in comment #13
*** Bug 881400 has been marked as a duplicate of this bug. ***
Done in a very old release, closing now.