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 147597 - "Grant Full Access To" drop down list is wrongly enabled
Summary: "Grant Full Access To" drop down list is wrongly enabled
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: MySQL (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Rob Englander
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-18 13:54 UTC by Roman Mostyka
Modified: 2008-09-22 10:50 UTC (History)
1 user (show)

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 Roman Mostyka 2008-09-18 13:54:02 UTC
1. Register MySQL server.
2. Rightclick it and choose "Create Database...".

Result: "Create MySQL Database" dialog appears and "Grant Full Access To" drop down list is enabled, though "Grant Full
Access To" checkbox isn't checked. If user starts to type database name it becomes disabled.
Comment 1 David Vancouvering 2008-09-18 16:54:58 UTC
I'm thinking of just getting rid of the "Grant Full Access To" option - what do you think?  In most cases for a
developer this doesn't make sense.

James, if I made this change, would it be too late for docs?  
Comment 2 Rob Englander 2008-09-18 17:04:21 UTC
I think all you need to do is to add a call to validatePanel as the last step in the init process for the create dialog.
Comment 3 Rob Englander 2008-09-19 18:23:18 UTC
4e88c55c2a8d
Comment 4 Quality Engineering 2008-09-20 05:38:01 UTC
Integrated into 'main-golden', will be available in build *200809200201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/4e88c55c2a8d
User: Rob Englander <mindstream@netbeans.org>
Log: #147597 Keep user combobox state in sync with grant user access checkbox state.
Comment 5 Roman Mostyka 2008-09-22 10:50:19 UTC
Verified with build 080921.