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 18552 - DataObject editor: Ok enabled on filesystems root, exception if chosen
Summary: DataObject editor: Ok enabled on filesystems root, exception if chosen
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Property Editors (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: David Strupl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-12-12 01:49 UTC by Rochelle Raccah
Modified: 2008-12-22 21:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception stack trace (12.23 KB, text/plain)
2001-12-12 01:51 UTC, Rochelle Raccah
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rochelle Raccah 2001-12-12 01:49:37 UTC
If the DataObject property editor is used, the Ok button is enabled on the
filesystems root even if cookies or filters are specified.  If the Ok button is
pressed, there is an exception which I'll attach separately.
Comment 1 Rochelle Raccah 2001-12-12 01:51:11 UTC
Created attachment 3782 [details]
Exception stack trace
Comment 2 David Strupl 2002-01-07 14:27:47 UTC
Enabling Ok button is wrong. I'll check why does it happen. The
exception is ok - if you anotate it with proper user message and
severity the user will be notified nicely.
Comment 3 David Strupl 2002-01-07 14:41:07 UTC
Fixed in DataObjectPanel 1.3.12.2 (on release33 branch).
Comment 4 Rochelle Raccah 2002-01-08 06:51:22 UTC
This is much better!  One minor comment: Now if there is no initial
selection, the OK button is enabled but if the user makes a legal
selection then ctrl-clicks to make no selection, the OK button is
disabled.  I think the initial state of the OK button should come from
the initial selection as well (i.e. if there is a legal initial
selection enable it, otherwise disable it).
Comment 5 Rochelle Raccah 2002-01-08 19:58:14 UTC
Reopening due to the comment added last night.
Comment 6 David Strupl 2002-01-09 14:41:43 UTC
DataObjectEditor 1.4.12.2, DataObjectPanel 1.3.12.3 on release33 branch.
Comment 7 Marian Mirilovic 2002-02-08 15:22:24 UTC
verified in [nb_dev](20020208)
Comment 8 Quality Engineering 2003-07-01 16:16:04 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.