Issue 53864 - Table createe wizard resets available columns list on table change
Summary: Table createe wizard resets available columns list on table change
Status: ACCEPTED
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: OOo 2.0 Beta
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-28 01:49 UTC by kieser
Modified: 2013-08-07 15:45 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description kieser 2005-08-28 01:49:46 UTC
Steps to reproduce:

1) Start the table create wizard.
2) Choose "invoices" sample table.
3) Select a few columns so that the "available fields" selector loses some rows.
4) change "sample table" to another table. Say "deliveries".
5) Select a column (and then optionally remove it again).
6) Go back to "invoices" table.

You will see that ALL the original columns are now available for selection again
although if you do reselect a column you selected last time, the wizard is
clever enough to give it a unique name by adding a number after it.
Comment 1 marc.neumann 2005-09-13 11:13:34 UTC
Hi,

I can reproduce this. May be the wizard can only display the fields which are
not selected.

set target to OFFICE LATER and send to the right developer.

Bye Marc
Comment 2 marc.neumann 2005-09-13 12:46:47 UTC
set target again
Comment 3 berend.cornelius 2006-05-19 13:17:43 UTC
.
Comment 4 berend.cornelius 2006-06-15 13:09:56 UTC
bc: What would have to be done is to keep a history of all fieldnames that are
taken from the repertoire of the "available Fields" of each sample table. This
way the wizard could assure to display only the those fields that have not yet
been shifted to the "Selected Fields" Listbox. A mere comparison based on a
string comparison of the fieldnames is not sufficient because
1) the user can change the names of the selected fields before switching the
sample table 
2) it could be that the selected fieldname denotes a fieldname of another
sampletable with a completely different meaning and different attributes.

To make the fix a perfect fix it would also have to be made sure that a renamed
field taken out rom the "Selected fields" repertoire again appears in the
"Available fields" repertoire.
Considering the effort and benefit of this fix I do not consider this bug
serious enough for the current target and set it to Office Later.

Comment 5 berend.cornelius 2006-06-16 12:23:59 UTC
bc: A probably easier way to solve this issue would be to keep the information
about the source sample table of every column shifted into the "Selected fields"
repertoire. This information could then be used for a simple string comparison
to decide if a field of a sample table is to be displayed in the "Available
fields" listbox.
Comment 6 Rob Weir 2013-07-30 02:35:40 UTC
Reset assignee on issues not touched by assignee in more than 1000 days.