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 103564 - "..default package.." warning msg in "Master Table" dialog
Summary: "..default package.." warning msg in "Master Table" dialog
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Binding (show other bugs)
Version: 6.x
Hardware: All Linux
: P3 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-09 14:26 UTC by Jiri Vagner
Modified: 2007-06-27 14:22 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 Jiri Vagner 2007-05-09 14:26:42 UTC
I set default (empty) package name for new Master/Detail form. In "Name and
Location" wizard step, there was a warning msg about using default packages.
It's OK. But in the next dialog, "Master Table" wizard step, this msg was still
there. After going to next dialog ("Detail Options" wizard step) and back, msg
disapeared.

Steps to reproduce:
Invoke "New file" dialog
Select "Java GUI Forms" -> "Master Detail Form" and press Next button
Press Next button again
Browse db, select table and press Next button
Press Back button

NetBeans IDE Dev (Build 200705061800)
1.6.0_02-ea; Java HotSpot(TM) Client VM 1.6.0_02-ea-b02
Linux version 2.6.17-10-386 running on i386
en_US (nb); UTF-8
Comment 1 Jan Stola 2007-06-06 16:44:44 UTC
The Master/Detail wizard has been changed to handle default package better. It 
is not possible to create master/detail form in the default package by now. The 
warning from the "Name and Location" step changes to error on the "Master 
Table" step and doesn't allow you to select master table.

It would be ideal to report this error directly in the "Name and Location" step 
and don't allow to go to "Master Table" step until (s)he specifies some 
package. Unfortunately, this solution would be technically more difficult and 
IMHO is not worth the effort - creation of form in the default package is a 
corner case.
Comment 2 Jiri Vagner 2007-06-27 14:22:03 UTC
Verified

Product Version: NetBeans IDE Dev (Build 200706270025)
Java: 1.5.0_12; Java HotSpot(TM) Client VM 1.5.0_12-b04
System: Linux version 2.6.20-16-generic running on i386; UTF-8; en_US (nb)