Bug #27517 first setup page forgets selected files in case a password does not match
Submitted: 29 Mar 2007 11:02 Modified: 8 Jun 2007 20:22
Reporter: Carsten Segieth Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Enterprise Monitor: Web Severity:S3 (Non-critical)
Version:1.1.0.4973 OS:Any
Assigned to: Joshua Ganderson CPU Architecture:Any

[29 Mar 2007 11:02] Carsten Segieth
Description:
On the first setup page, the already selected files for the product key and advisor file are 'forgotten' in case one of the passwords entered does not match.
Then one has to select the files again.

How to repeat:
1) install new server, start, open browser for first time setup
2) select files for product key and advisors
3) enter user / passwords, but mistype in the 2nd admin password fiels
4) click "complete setup"

... and see that when showing the error message "passwords does not match" the 2 file name fields are now emtpy.

Suggested fix:
keep already selected values although an error is shown
[8 Jun 2007 20:22] Joshua Ganderson
You cannot set a file input for security reasons. If you could, a web page could fill this out for you and use javascript to submit a file from your machine to the web server.