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 81272 - Options are not validated
Summary: Options are not validated
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: 2006-07-27 15:50 UTC by Vince Kraemer
Modified: 2006-08-25 15:56 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 Vince Kraemer 2006-07-27 15:50:28 UTC
If you enter an incorrect value for 'Java DB Location' or 'Database Location'
the value is acceptted.  The error isn't flagged until you try to use items from
the Tools->Java DB Database menu... 

This is very late, considering how many clicks it takes to get to the right spot
in the options dialog to set the values the first time...
Comment 1 Andrei Badea 2006-07-28 12:44:48 UTC
Could probably validate Java DB Location by checking there is a lib folder. Not
sure about Database Location,.
Comment 2 Vince Kraemer 2006-07-28 17:43:35 UTC
database location validation:  writability might be a good thing...
Comment 3 Andrei Badea 2006-07-31 17:25:32 UTC
Fixed.

Checking in src/org/netbeans/modules/derby/Bundle.properties;
/cvs/db/derby/src/org/netbeans/modules/derby/Bundle.properties,v  <-- 
Bundle.properties
new revision: 1.7.2.2.2.6; previous revision: 1.7.2.2.2.5
done
Checking in src/org/netbeans/modules/derby/DerbyOptions.java;
/cvs/db/derby/src/org/netbeans/modules/derby/DerbyOptions.java,v  <-- 
DerbyOptions.java
new revision: 1.5.2.2.2.8; previous revision: 1.5.2.2.2.7
done
Comment 4 Lukasz Grela 2006-08-25 15:56:03 UTC
v.