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

Bug 343457

Summary: Where did runtime #2 go?
Product: [WebTools] WTP ServerTools Reporter: Tim deBoer <deboer>
Component: wst.serverAssignee: wst.server <wst.server-inbox>
Status: CLOSED DUPLICATE QA Contact: Angel Vera <arvera>
Severity: minor    
Priority: P3    
Version: 3.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Tim deBoer CLA 2011-04-20 16:55:35 EDT
Bug 300255 caused a regression. Before the change, the first runtime had a basic label, and all future runtimes were numbers 2, 3, 4, etc. For example, if I created three runtimes they are:
  Runtime A
  Runtime A (2)
  Runtime A (3)

After the change, the second runtime is #3:
  Runtime A
  Runtime A (3)
  Runtime A (4)

The order of operations in the while loop should be reverted, or suffix should start at 1.
Comment 1 Angel Vera CLA 2011-04-21 10:05:57 EDT

*** This bug has been marked as a duplicate of bug 334705 ***