Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 291112

Summary: 'Prepare for Deployment' error message states "J2EEDeployOperation_2_UI_"
Product: [WebTools] WTP Java EE Tools Reporter: Carl Anderson <ccc>
Component: jst.j2eeAssignee: Carl Anderson <ccc>
Status: RESOLVED FIXED QA Contact: Chuck Bridgham <cbridgha>
Severity: minor    
Priority: P3 CC: ccc, tjbishop
Version: 1.5   
Target Milestone: 1.5.5 P   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 290711    
Bug Blocks: 290757    

Description Carl Anderson CLA 2009-10-01 16:51:26 EDT
This is to get the fix into 1.5.5 P
+++ This bug was initially created as a clone of Bug #290711 +++

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.1)
Gecko/20090715 Firefox/3.5.1 (.NET CLR 3.5.30729)
Build Identifier: 

If the 'Prepare for Deployment' action runs multiple deployers and one of those
deployers fails (while the rest succeed) then the following will be visible in
the .log and error details of the dialog:

J2EEDeployOperation_2_UI_    <-- successful run
J2EEDeployOperation_2_UI_    <-- successful run
<failing deployer text>      <-- failing run

The problem is with the construction of the text of the IStatus object for a
successful run - it does not replace the 'key' with the text in the
corresponding properties file.  I will attach a patch that should correct this
error.

Reproducible: Always

Steps to Reproduce:
1. Run the 'Prepare for Deployment' action when it has multiple deployers
registered to it.
2. Ensure one of those deployers succeeds and one fails (to prompt the dialog
to display).
3. View the error details or the workspace .log file.
Comment 1 Carl Anderson CLA 2009-10-01 17:23:20 EDT
Committed to R1_5_5_patches.