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 180385 - SQL: "Number of SQL statements to save" field validation
Summary: SQL: "Number of SQL statements to save" field validation
Status: CLOSED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P4 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-06 19:34 UTC by gliesian
Modified: 2011-11-04 17:29 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 gliesian 2010-02-06 19:34:23 UTC
In the SQL HIstory dialog box, the error handling can be refined.

For Number of SQL statements to save:

If AAA is entered, this error is displayed:
Number >= 0 is required

If 10001 is entered, this error is displayed:
Maximum statements to save is 10000

If -1 is entered, this error is displayed:
Maximum statements to save is 10000

However, it should be:
Number >= 0 is required
Comment 1 Jiri Rechtacek 2010-03-17 13:16:49 UTC
core-main/rev/749a6e3558ac
Comment 2 Quality Engineering 2010-03-19 05:13:55 UTC
Integrated into 'main-golden', will be available in build *201003190200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/749a6e3558ac
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #180385:  "Number of SQL statements to save" field validation