I have a doubt when looking for the db location in server mode. When the application starts in server mode, the user is presented with a simple gui, and has to determine the location of the db using a file chooser.
The possible issue here, I am not sure if it is an issue yet, is that everything works just fine when the user specifies the path (directory) where the db is located, but does not work properly when the user specifies the full path, plus the name of the db using the file chooser..
For example, the following, will start the server (finish registering the remote interface successfully):
..but the connection fails if the user selects the actual db file (using the file chooser) and attempts to start the server with
I have a partial list of the series of exceptions here:
I think this is because throughout the application the name of the db file is specified programmatically, and only the location/path/directory is needed... Would anyone say my suspicion is correct? or am I using the file chooser the wrong way?
..actually I think this solved with so the user can search for, find and select the db file, but the location field will be updated only with the parent directory of that file, not the file name itself.