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 75525 - Adding a security role has a null name field which causes it to be an invalid DDBean for the confg editor
Summary: Adding a security role has a null name field which causes it to be an invalid...
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB (show other bugs)
Version: 5.x
Hardware: Sun All
: P1 blocker (vote)
Assignee: Erno Mononen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-25 21:33 UTC by _ pcw
Modified: 2009-11-10 06: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 _ pcw 2006-04-25 21:33:45 UTC
Create J2EE 1.4 ejb module
Open ejb-jar.xml
On general tab, add a security role
-- it adds a blank line which you can then edit to fill in the fields
The problem is the name field is null on create which is causing an
InvalidDDBean exception in the sun config editor.

This problem also existed for web apps and was fixed by having the add button
popup a dialog forcing input of the name field instead of just adding an empty
entry to the table.
Comment 1 _ pcw 2006-04-25 22:05:41 UTC
P1 per Ludo as a beta stopper.
Comment 2 Erno Mononen 2006-04-26 12:48:59 UTC
Fixed in the release55 branch. 

Checking in EjbJarSecurityRolesTableModel.java;
/cvs/j2ee/ddloaders/src/org/netbeans/modules/j2ee/ddloaders/multiview/Attic/
EjbJarSecurityRolesTableModel.java,v  <--  EjbJarSecurityRolesTableModel.java
new revision: 1.1.4.3; previous revision: 1.1.4.2
Comment 3 Martin Schovanek 2009-09-23 15:00:19 UTC
v.