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 145274 - No "Grant full access to user" checkbox on Mac OS X
Summary: No "Grant full access to user" checkbox on Mac OS X
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: MySQL (show other bugs)
Version: 6.x
Hardware: Macintosh (x86) Mac OS X
: P2 blocker (vote)
Assignee: Rob Englander
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-27 11:57 UTC by Roman Mostyka
Modified: 2008-09-12 12:12 UTC (History)
0 users

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-08-27 11:57:11 UTC
1. Rightclick "Databases" node and choose "Register MySQL Server...".
2. Specify all necessary parameters for MySQL server and click "OK".
3. Rightclick MySQL server node and choose "Create Database...".

Result: There is no "Grant full access to user" checkbox in appeared dialog.
Comment 1 John Baker 2008-08-28 05:06:29 UTC
When I try to open the design view, matisse reports that the form is corrupted
Comment 2 John Baker 2008-08-28 05:22:13 UTC
There are some "shaded" regions of read-only code the source but the region looks off. 
Might be a Matisse bug .

The Grant full access to user checkbox is visible in design view though.

Rob, could you evaluate this one?  It also looks like there are some layout issues.
If you're busy then assign back to me.
Comment 3 John Baker 2008-08-28 07:18:17 UTC
My MySQL server was down.  Now that I reinstalled it I connected and opened the Create database dialog.

The Grant full access to user checkbox is visible.   Is this a locale issue?
Could you attach a screenshot please
Comment 4 Roman Mostyka 2008-08-28 12:21:12 UTC
You can see by yourself I think. I realize that it happens with MySQL installed on Solaris 10.
I've sent you an email with details.
Comment 5 Rob Englander 2008-08-28 15:22:29 UTC
No problem.  I'll do it.
Comment 6 Rob Englander 2008-08-28 15:50:57 UTC
I cleaned up the layout and resizing issues.

As I think you found out, the dialog will not show the grant access checkbox and user dropdown if it doesn't find any
users.  So if your connection failed, it doesn't find any users.  There is a slight logic problem in that part of the
code which I'll fix, but unless this behavior isn't what we want I won't change the behavior.
Comment 7 Rob Englander 2008-08-28 18:22:50 UTC
ab3e35c073b5

Deleted the CreateDatabasePanel class and rewrote it as CreateNewDatabasePanel.  The original had a corrupted .form file
that prevented modifications (although it was hard to tell at design time).  Fixed the layout and resizing issues.

I don't believe there is any issue with the grant widgets not being shown.  That is the deliberate behavior when no
users are found.
Comment 8 Rob Englander 2008-08-28 20:58:27 UTC
b87927a21591

Renamed back to CreateDatabasePanel to conform with other modules that depend on that name.
Comment 9 Quality Engineering 2008-08-30 05:44:41 UTC
Integrated into 'main-golden', available in build *200808300201* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/ab3e35c073b5
User: Rob Englander <mindstream@netbeans.org>
Log: #145274 Deleted CreateDatabasePanel class and replaced with CreateNewDatabasePanel class.  The form was corrupted in some way that was not obvious, and was preventing any modifications from being made.
Comment 10 Roman Mostyka 2008-09-12 12:12:44 UTC
Verified with build 080911.