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 72702 - Intrusive warning dialog if columns of table cannot be displayed
Summary: Intrusive warning dialog if columns of table cannot be displayed
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: PC All
: P3 blocker (vote)
Assignee: David Vancouvering
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-15 22:12 UTC by giorgio42
Modified: 2008-09-11 14:16 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Screenshot of DbVisualizer status bar (33.05 KB, image/jpeg)
2006-05-29 21:01 UTC, giorgio42
Details

Note You need to log in before you can comment on or make changes to this bug.
Description giorgio42 2006-02-15 22:12:32 UTC
If the columns of a table cannot be displayed for security reasons, I get a
modal warning dialog over and over again, when I click the '+' sign in front of
the table name. Instead of the modal dialog, that needs to be clicked away,
either nothing should be done (no subnodes are displayed), or, for instance, a
single subnode could be displayed telling the user that the table structure is
not accessible.

Georg
Comment 1 Andrei Badea 2006-02-16 09:55:40 UTC
Well, I'm not sure here. Doing nothing is definitely not an option -- the user
should be told there was an error if that's the case. Adding a kind of "error
retrieving the table structure" is not a bad idea, but it needs to be revised by
HIE. 

Jindro, what do you think? There are cases when it is not possible to retrieve
the table structure (security reasons, bug in the JDBC driver, disconnected
connection). Instead of displaying a modal dialog box we can just display a
single node named "Error retrieving the db structure" or similar, maybe with a
context action like "Show cause (details)" which would display the error message
from the driver.

Anyway, it's an enhancement, not defect.
Comment 2 giorgio42 2006-05-29 21:01:19 UTC
Created attachment 30648 [details]
Screenshot of DbVisualizer status bar
Comment 3 Andrei Badea 2006-05-29 21:05:08 UTC
I guess the screenshot belongs to issue 72701.
Comment 4 giorgio42 2006-05-29 21:27:30 UTC
Thanks for the hint, you are right, of course. Seems I am still practising with
IssueZilla...
Comment 5 giorgio42 2008-09-01 21:15:50 UTC
You can close the ticket. The issue has been fixed by the new implementation of the rowset display.
Comment 6 David Vancouvering 2008-09-02 05:28:19 UTC
Fixed by request
Comment 7 Roman Mostyka 2008-09-11 14:16:18 UTC
Verified with build 080910.