Erasing editor file.
A Java SQL client for any JDBC compliant database
Brought to you by:
colbell,
gerdwagner
So I'm editing important file "a.sql" in the SQL tab, and hit save. Then I click the "Open a file" icon, type the name of a brand new file "b.sql" and click "Open". No error message, and the edit pane is cleared. Fine.
I type in a lot of stuff and press the "Save editor contents to file" icon. No error. Where would you think this is saved? b.sql, right? But no, it just obliterated a.sql.
Fixed in our GIT repository. Will be available in future snapshots and versions.
Excerpt from change.log:
SQuirreL doesn't support creating a new file using the "Open file" function.
The problem described in bug #1403 occurred, when a non existent file was entered into the file open dialog.
Now the user is told about the problem and the SQuirreL behaves consistently.