Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355485 - Label of navigation tree node is changing while moving columns in the data list
Summary: Label of navigation tree node is changing while moving columns in the data list
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Andreas Hoegger CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-23 06:31 EDT by Oli Schmid CLA
Modified: 2021-08-19 11:27 EDT (History)
2 users (show)

See Also:
zimmermann: indigo+
zimmermann: juno+


Attachments
AbstractTable.getSummaryCell returns the first defined visible column when no summary column is been defined (2.49 KB, patch)
2011-08-23 07:22 EDT, Oli Schmid CLA
no flags Details | Diff
AbstractTable.getSummaryCell returns the first defined visible column when no summary column is been defined (use correct array for max index) (2.47 KB, patch)
2011-08-23 09:41 EDT, Oli Schmid CLA
zimmermann: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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