| Summary: | LAST_EAR_NAME is never used in new Java EE module wizards | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Java EE Tools | Reporter: | Roberto Sanchez Herrera <shr31223> | ||||
| Component: | jst.j2ee | Assignee: | Roberto Sanchez Herrera <shr31223> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Chuck Bridgham <cbridgha> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | ccc | ||||
| Version: | 3.2.4 | Flags: | cbridgha:
review+
|
||||
| Target Milestone: | 3.2.5 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Roberto Sanchez Herrera
Created attachment 199835 [details]
Proposed fix
The fix consist in changing a wrong validation (use != instead of ==). I also set the IJ2EEModuleFacetInstallDataModelProperties.EAR_PROJECT_NAME property only when an EAR was selected, because if this property is set and the last EAR name is used, some important validation is bypassed, and the wizard shows the name of the last EAR used even if that project does not exist in the workspace.
Thanks looks good Code committed to R3_2_maintenance and HEAD for 3.2.5, 3.3.1 and 3.4. |