This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 166370 - SQL Editor "save as" outputs blank file
Summary: SQL Editor "save as" outputs blank file
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: SQL Editor (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Jiri Skrivanek
URL:
Keywords:
Depends on:
Blocks: 152772
  Show dependency tree
 
Reported: 2009-06-02 01:29 UTC by nunogt
Modified: 2009-08-27 06:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nunogt 2009-06-02 01:29:02 UTC
Netbeans 6.7 RC1 won't properly save a file that's being edited in its SQL Editor. Steps to reproduce:

1) Open Netbeans 6.7 RC1
2) Services tab -> Databases
3) Right-click and setup you connection
4) Connect to your database
5) Navigate to the parent yellow folder of tables (called "Tables"), right-click, select "Execute Command".
6) Write something
7) Select File -> Save As, and specify the location where the file should be saved, click OK.
8) The output is a blank file, netbeans automatically reloads it, and your work has been lost

I'm running Ubuntu Jaunty x86, ext3 filesystem. Java version is:

java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Server VM (build 11.3-b02, mixed mode)
Comment 1 Jiri Rechtacek 2009-06-19 15:25:08 UTC
I can reproduce this problem also on 6.7RC3. I should be fixed soon in the next release.
Comment 2 Jiri Skrivanek 2009-08-26 11:20:15 UTC
Fixed.
core-main #958bfb3fd4ea
Comment 3 nunogt 2009-08-26 11:35:25 UTC
Thank you.
Comment 4 Quality Engineering 2009-08-27 06:00:49 UTC
Integrated into 'main-golden', will be available in build *200908270201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/958bfb3fd4ea
User: Jiri Skrivanek <jskrivanek@netbeans.org>
Log: #166370 - If it is console SQL editor, need to save document before saveAs.