Menu

#1403 Erasing editor file.

SQuirreL
closed-fixed
nobody
None
high
2019-08-22
2019-08-21
No

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.

Discussion

  • Gerd Wagner

    Gerd Wagner - 2019-08-22
    • status: open --> closed-fixed
     
  • Gerd Wagner

    Gerd Wagner - 2019-08-22

    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.

     

Log in to post a comment.