Community
Participate
Working Groups
Steps to reproduce: 1. Call the Session Bean wizard. 2. Enter the necessary fields on the first page. Click Next. 3. On the second page clean the "Bean name" field. The validation error states: "Invalid Java class name: The type name '' is not a valid identifier". This looks like the validation made for the "Class name" field on the first page. The validation error should rather state "The bean name cannot be empty".
*** Bug 232802 has been marked as a duplicate of this bug. ***
Created attachment 105280 [details] patch
Created attachment 105281 [details] patch
Created attachment 105626 [details] patch - fixed code formatting
Patch looks OK. I just fixed some code formatting. Thanks!
The patch introduces new string for translation.
Let's defer this for 3.1. Dimitar, please commit the patch to HEAD only.
Created attachment 106563 [details] patch v4 This latest version of the patch just resolves the code conflicts introduced with applying the patch of bug 225379.
Patch v4 committed to HEAD.
Verified with wtp-sdk-I-3.1-20080801151537.