Apache OpenOffice (AOO) Bugzilla – Issue 80916
copy&paste from writer prepends first field of row with a space
Last modified: 2008-03-10 13:03:10 UTC
Task: Copy data from writer to an existing base table appending data. Error: The first line of data is not inserted into the target table. Database: Internal HSQLDB registered Data Source Tested with: 2.2.0 680m2 OS: Win98se Reproduce: - open attached .odb file plus the .odt - activate writer doc and select the complete table - hit the copy button in the toolbar - activate the base window - select the tables container - hit the paste button in the toolbar - the import assistant window pops up - type in "Artikel" as table name - select "append data" - click next (not sure if necessary) - click finish - open the table "Artikel" You'll see: the first field of every row has one space prepended (the first row of data is missing, this is another issue)
Created attachment 47699 [details] base file for testing
Created attachment 47700 [details] writer doc containit data to copy
the other issue concerning the missing first row is issue 80917
confirming, targeting, assigning
In my case, it also added a trailing blank. While this is not as obvious, it interferes with queries (e.g.,IS EMPTY, tests on what should be single-character fields), and is even more likely to cause length violations during a copy attempt when there is a short VARCHAR.
Just noticed something else here - the problem was reported only for the first field, but all my text fields from Writer got both leading and trailing blanks, not just the first.
Fixed in cws dba24c
.
Please verify. Thanks.
verified in CWS dba24c find more information about this CWS, like when it is available in the master builds, in EIS, the Environment Information System: http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=SRC680%2Fdba24c
Created attachment 50919 [details] copy_paste from Writer to Calc with leading blanks
Tested w / xp and build m_10 closing