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

Bug 351215

Summary: Server decorator shows incorrect state for replaced child module
Product: [WebTools] WTP ServerTools Reporter: Raymond Lai <rkklai>
Component: wst.serverAssignee: wst.server <wst.server-inbox>
Status: NEW --- QA Contact: Angel Vera <arvera>
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Raymond Lai CLA 2011-07-05 12:03:11 EDT
Build Identifier: 

I see this improper caching of the child module state.

1. Create a server.
2. Create a TestEAR containing a Test web project. Create a Test2 Web project.
3. Publish TestEAR to the server.
4. Replace the Test web project in TestEAR by Test2 web project.

Now, the state for Test2 in the servers view correctly shows blank since its state is unknown.

5. Publish the changes.
6. Replace the Test2 in TestEAR by Test.

Now, the state for Test in the servers view INCORRECTLY shows [synchronized]. It should be blank instead.

Reproducible: Always