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

Bug 355485

Summary: Label of navigation tree node is changing while moving columns in the data list
Product: z_Archived Reporter: Oli Schmid <oliver.schmid>
Component: ScoutAssignee: Andreas Hoegger <Andreas.Hoegger>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Andreas.Hoegger, zimmermann
Version: unspecifiedFlags: zimmermann: indigo+
zimmermann: juno+
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
AbstractTable.getSummaryCell returns the first defined visible column when no summary column is been defined
none
AbstractTable.getSummaryCell returns the first defined visible column when no summary column is been defined (use correct array for max index) zimmermann: iplog+

Description Oli Schmid CLA 2011-08-23 06:31:39 EDT
Build Identifier: M20110210-1200

When ever a column is moved by the user to first visible position. The order of the columns is been saved. After doing a refresh (e.g. press F5) the labels of the nodes in the naviagtion tree is been replaced by the values of the new first visible column. E.g moving the column with zip codes to the first position the navigation tree is showing the zip codes after a refresh.
This only happens when no summary column is defined on the table.

Reproducible: Always

Steps to Reproduce:
1. Build a table with at least two visible columns containg records which are not leafes. 
2. Ensure the table is filled with data. 
3. Move the first column to more right position.
4. Do a refresh on the parent tree node.
Comment 1 Oli Schmid CLA 2011-08-23 07:22:10 EDT
Created attachment 201990 [details]
AbstractTable.getSummaryCell returns the first defined visible column when no summary column is been defined
Comment 2 Oli Schmid CLA 2011-08-23 09:41:08 EDT
Created attachment 201995 [details]
AbstractTable.getSummaryCell returns the first defined visible column when no summary column is been defined (use correct array for max index)

The maximum index is defined by the columns array and not by the mapping array as used in the first patch.
Comment 3 Andreas Hoegger CLA 2011-08-24 07:07:28 EDT
applied patch for trunk and indigo SP1
Comment 4 Matthias Zimmermann CLA 2011-10-11 02:33:50 EDT
shipped with 3.7.1
Comment 5 Matthias Zimmermann CLA 2011-10-11 11:34:49 EDT
removed iplog flag from ticket and added iplog flag to attachment