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 151756

Summary: No info message about required fileds in "Add Column" dialog
Product: db Reporter: Roman Mostyka <romanmostyka>
Component: CodeAssignee: pslechta <pslechta>
Status: VERIFIED FIXED    
Severity: blocker CC: mindstream
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 148730    
Bug Blocks: 152584    

Description Roman Mostyka 2008-10-29 18:03:39 UTC
1. Connect to some DB.
2. Expand it's node, expand "Tables" node, rightclick some table and choose "Add Column...".

Result: Not all required fields are filled in and there is no info message about required fields.
Comment 1 pslechta 2008-11-10 15:32:04 UTC
New API for this should be implemented -- so adding dependency of this issue on new API enhancement...
Comment 2 pslechta 2008-11-27 15:43:36 UTC
New API was implemented, will fix this issue when the API is available in trunk...
Comment 3 pslechta 2008-12-03 16:42:59 UTC
Fixed.

http://hg.netbeans.org/main/rev/a6718daff0e7

Fixed only column name field. There is no logic to check other fields (like Size, Scale, etc. based on Type) and
implementation of this functionality would be very complex and will duplicate functionality of database server...
Comment 4 Roman Mostyka 2008-12-03 18:54:18 UTC
Verified with build 081203.
Comment 5 Quality Engineering 2008-12-05 06:12:56 UTC
Integrated into 'main-golden', will be available in build *200812050201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/a6718daff0e7
User: pslechta@netbeans.org
Log: #151756 No info message about required fileds in 'Add Column' dialog