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.
Hello, when editting data, I noticed first, that I was unable to set the column to NULL via the Keyboard Shortcut (STRG+0). This was a INT-Column on mysql, with default NULL. The Cell-Editor was opened and a warning was generated and the value was not set to null. See the attached patch, which does what I would expected an circumvents the editor problem. I don't see a real reason for initializing the Cell-Editor (it should be the modells responsibility to invoke a view-update), at at least my initial test were ok. Thanks Matthias
Created attachment 105271 [details] Remove the editor component from the NULL/Default set paths
Created attachment 105282 [details] Corrected patch (previous diff was done in wrong order)
Thanks for your patch, I'll review and test it and let you know.
Added to list [1] of community contributed bug fixes. Thanks for your patch Matthias! [1] http://wiki.netbeans.org/NetFIXIssues
Thank you for patch, has been applied in core-main/rev/aa46871834d9
Integrated into 'main-golden', will be available in build *201102020000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/aa46871834d9 User: Jiri Rechtacek <jrechtacek@netbeans.org> Log: #194617: Setting Value of Cell to NULL or DEFAULT fails; applied matthias42's patch