GLI client (and standalone??) saving config file
When starting up the GLI client, you are asked for library and gliserver.pl address. You enter these and the GLI opens up.
It should save the file at this point.
I am testing the problem of collections not opening on John Rose's computer, and when I try to open a collection, sometimes it hangs. I Ctrl-C to kill it, and the config file is not saved so I need to enter the library address again next time.
Better that it had saved it already.
Change History
(4)
Milestone: |
→ Next Release (2 or 3)
|
Milestone: |
Next Release (2 or 3) → Release 2.82
|
Severity: |
→ blocker
|
Owner: |
changed from nobody to ak19
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
Fixed and checked.
This was already fixed as a side-effect of my tinkering with Remote Greenstone server stuff. The URLField.java's store() method is called by WarningDialog.java which instantiates the input URL field into which the user enters the gliserver.pl URL. When the user clicks OK in the input dialog presented by WarningDialog, the URLField.store() is called to save the changes to the Configuration to the config file.
The saving was done for the DropDown control into which the user could enter the gliserver.pl URL or from which they could choose one they typed in earlier. Now the Configuration is also set to save upon calling URLField.store() in case anyone uses the URLField.Text textfield control for any similar purpose.