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 69091 - Set Database Location dialog - create folder issue
Summary: Set Database Location dialog - create folder issue
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Derby (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-22 12:12 UTC by Martin Schovanek
Modified: 2006-01-18 15:17 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 Martin Schovanek 2005-11-22 12:12:06 UTC
[#200511201900, jdk1.5.0]

The Set Database Location dialog does not create the location folder even if the
parent folder exists.

to reproduce:
-------------
1) set Advanced Options > Server and External Tools > Derby Database > Database
Location to "" (empty string)
2) run Tools > Derby > Start Derby
3) enter a folder path which does not exist e.g. /home/myname/derby_data
ERROR: The dialog displays Err message: "The specified database location does
not exists" even if the parent folder "/home/myname" exists.

Annoying mainly on Mac OS X where File Choser does not support Create New Folder
action.
Comment 1 Andrei Badea 2005-12-01 14:37:57 UTC
As design, although I agree the design could have been better. Not critical for
the Derby functionality, especially considering that the appserver plugin will
usually create a derby system home in ~/.netbeans-derby for you.
Comment 2 Martin Schovanek 2005-12-01 15:50:45 UTC
Sorry to must say this, but it simply does not work in this case (at least from
the user point of view) so it is regular bug.
Comment 3 Andrei Badea 2005-12-01 17:02:16 UTC
Running SQL scripts doesn't work now. Is that a bug from the user point of view?
Yes. Is it filed as a bug? No. The fact that the user considers it a bug doesn't
necessarily classify an issue as a bug.

But OK, I will try to fix this.
Comment 4 Andrei Badea 2005-12-09 10:18:18 UTC
Fixed.

Checking in src/org/netbeans/modules/derby/ui/Bundle.properties;
/cvs/db/derby/src/org/netbeans/modules/derby/ui/Bundle.properties,v  <-- 
Bundle.properties
new revision: 1.10; previous revision: 1.9
done
Checking in src/org/netbeans/modules/derby/ui/DerbySystemHomePanel.java;
/cvs/db/derby/src/org/netbeans/modules/derby/ui/DerbySystemHomePanel.java,v  <--
 DerbySystemHomePanel.java
new revision: 1.5; previous revision: 1.4
done
Comment 5 Lukasz Grela 2006-01-18 15:17:54 UTC
v.