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

Bug 180262

Summary: variables are listed twice in the "EquivalenceClass" pane of Datapool
Product: z_Archived Reporter: David Hodges <dkhodges>
Component: TPTPAssignee: Paul Slauenwhite <paulslau>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: jkubasta, paulslau
Version: unspecifiedKeywords: plan
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on: 226973    
Bug Blocks: 269676    
Attachments:
Description Flags
Patch. none

Description David Hodges CLA 2007-03-30 14:22:17 EDT
Build ID: 4.2.1.1

Steps To Reproduce:
Create a new Java Project.
Create a datapool: 
From the Test Navigator, right click on your project ,  New->Other >Test >Test Assets.
select Datapool 
Next >
Accept default for parent folder and specify Name: RandomNumberBounds
Select Finish

Open the  RandomNumberBounds.datapool
Tab to the Overview page, edit the default Equivalence class and name it MinMax
There is one default variable. Rename it to "min" and add another variable. Rename it to "max". 
Switch to the pane where it shows the rows of records. Notice that there are 2 set of these 2 variables. It looks like: 
     min::String              Variable1::String            min::String            Variable1:String
Switch back to the Overview and edit the "Variable1" to "max". When I switch back to the MinMax pane, there are now only 2 columns (1 set), as expected: 
     min::String              Variable1::String

More information:
Only occurs on Linux RHEL 4.0 WS
Tested on Windows and issue does not occur
Comment 1 Paul Slauenwhite CLA 2007-04-02 11:38:47 EDT
Assuming found in 4.4.
Comment 2 David Hodges CLA 2007-04-02 15:59:22 EDT
Just for clarity, the Version was actually 4.2 that this was found in.   I have not tested 4.4 yet.
Comment 3 Paul Slauenwhite CLA 2007-04-23 09:41:18 EDT
Please provide a sizing.
Comment 4 Paul Slauenwhite CLA 2007-10-11 13:52:10 EDT
Jerome, please provide a sizing.
Comment 5 Paul Slauenwhite CLA 2007-11-05 14:44:35 EST
Please provide a sizing for this defect before Monday, November 12, 2007.
Comment 6 Paul Slauenwhite CLA 2007-11-07 06:33:04 EST
Bulk update of the target field to reflect the change in iteration numbers.
Comment 7 Paul Slauenwhite CLA 2008-01-07 09:18:35 EST
Deferring to I6.
Comment 8 Paul Slauenwhite CLA 2008-01-28 14:17:27 EST
Jerome, I will take this one as part of the set of datapool defects I am fixing.
Comment 9 Paul Slauenwhite CLA 2008-03-31 12:14:16 EDT
Deferring to I7 as discussed by PMC/AG (http://wiki.eclipse.org/TPTP-AG-20080331#Test_Project).
Comment 10 Paul Slauenwhite CLA 2008-04-14 13:15:46 EDT
Hours worked for debugging and creating/testing patch.

This symptom was caused by SWT defect# 226973. As a work-around, we will add a second condition to org.eclipse.hyades.test.ui.datapool.internal.control.DatapoolTableUtil.getColumnCount() to check if the table column is resizable (see patch).
Comment 11 Paul Slauenwhite CLA 2008-04-14 13:16:10 EDT
Created attachment 95951 [details]
Patch.
Comment 12 Paul Slauenwhite CLA 2008-04-14 13:16:37 EDT
Patch checked-in to CVS (HEAD).
Comment 13 David Hodges CLA 2008-06-10 23:01:38 EDT
Closing...fix verified