Issue 66905 - Copy table's "append data" does not put data in proper fields
Summary: Copy table's "append data" does not put data in proper fields
Status: CLOSED DUPLICATE of issue 64766
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: OOo 2.0.3
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 2.x
Assignee: ocke.janssen
QA Contact: issues@dba
URL:
Keywords:
Depends on:
Blocks: 20748
  Show dependency tree
 
Reported: 2006-06-30 23:43 UTC by rbmatt
Modified: 2006-08-02 10:46 UTC (History)
1 user (show)

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


Attachments
Test for append error (8.30 KB, application/octet-stream)
2006-06-30 23:44 UTC, rbmatt
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description rbmatt 2006-06-30 23:43:39 UTC
You are able to append data to a table by dragging and dropping from a Calc
document. This opens the Copy Table dialog where you can select Append data. If
you give the name of the table you want to append to, the next screen shows the
dragged fields beside the table's fields.
You should be able to reorder the right side so that the fields match up
correctly. This apparently has no effect. The data is imported into the fields
sequentially, even if datatypes do not match up correctly (it will try to put
VARCHAR into an INT).
The attached zip file contains 2 OOo files to test for replication.
Open the database and click the tables icon.
Open the Calc document and range-select all the cells with data. Click and drag
this over to the database application and drop it in the area that lists the table.
Select "Append data" and enter "Contacts" as the table name. Click next.
Click the up buttons so that Name and Phone are the first two fields.
Press Create and see the error.
It tries to insert into "id","Name" instead of "Name","Phone" as expected.
Comment 1 rbmatt 2006-06-30 23:44:29 UTC
Created attachment 37449 [details]
Test for append error
Comment 2 Frank Schönheit 2006-07-05 11:28:35 UTC
confirming, assigning, targeting. Thanks for this excellent bug description with
clearly reproducible steps.
Comment 3 ocke.janssen 2006-08-02 10:46:22 UTC
.

*** This issue has been marked as a duplicate of 64766 ***
Comment 4 ocke.janssen 2006-08-02 10:46:55 UTC
.