Issue 72820 - Mail Merge Wizzard saves truncated files with function 'Save merged document > Save as individual documents'
Summary: Mail Merge Wizzard saves truncated files with function 'Save merged document ...
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: OOo 2.1
Hardware: All Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: h.ilter
QA Contact: issues@sw
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2006-12-20 17:11 UTC by dhislop
Modified: 2013-08-07 14:42 UTC (History)
2 users (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 dhislop 2006-12-20 17:11:08 UTC
Files output from a mail merge varied in length and were the wrong content. 
Directory listing is below.
1. First file produced was correct.
2. Second file stopped at the end of the second of three pages
3. Third file was a blank page
4. 2 and 3 repeated 26 more times
5. the last 14 files are about the right length, but have some problems with 
text near the end.

Directory Listing:
19/12/2006  12:44a         1,407,124 C2006_0.odt
19/12/2006  12:44a         1,055,608 C2006_1.odt
19/12/2006  12:44a             9,001 C2006_2.odt
19/12/2006  12:44a         1,055,604 C2006_3.odt
19/12/2006  12:44a             9,001 C2006_4.odt
19/12/2006  12:44a         1,055,578 C2006_5.odt
19/12/2006  12:44a             9,001 C2006_6.odt
19/12/2006  12:44a             9,001 C2006_8.odt
19/12/2006  12:44a         1,055,624 C2006_7.odt
19/12/2006  12:44a         1,055,592 C2006_9.odt
19/12/2006  12:44a             9,001 C2006_10.odt
19/12/2006  12:44a         1,055,603 C2006_11.odt
19/12/2006  12:44a             9,001 C2006_12.odt
19/12/2006  12:44a         1,055,630 C2006_13.odt
19/12/2006  12:44a             9,001 C2006_14.odt
19/12/2006  12:44a         1,055,644 C2006_15.odt
19/12/2006  12:44a             9,002 C2006_16.odt
19/12/2006  12:44a         1,055,556 C2006_17.odt
19/12/2006  12:44a             9,001 C2006_18.odt
19/12/2006  12:44a         1,055,580 C2006_19.odt
19/12/2006  12:44a             9,000 C2006_20.odt
19/12/2006  12:44a         1,055,568 C2006_21.odt
19/12/2006  12:44a             9,002 C2006_22.odt
19/12/2006  12:44a         1,055,572 C2006_23.odt
19/12/2006  12:44a             9,001 C2006_24.odt
19/12/2006  12:44a             9,001 C2006_26.odt
19/12/2006  12:44a         1,055,554 C2006_25.odt
19/12/2006  12:44a         1,055,577 C2006_27.odt
19/12/2006  12:45a             9,002 C2006_28.odt
19/12/2006  12:45a         1,055,555 C2006_29.odt
19/12/2006  12:45a             9,002 C2006_30.odt
19/12/2006  12:45a         1,055,604 C2006_31.odt
19/12/2006  12:45a             9,001 C2006_32.odt
19/12/2006  12:45a             9,002 C2006_34.odt
19/12/2006  12:45a         1,055,525 C2006_33.odt
19/12/2006  12:45a         1,055,573 C2006_35.odt
19/12/2006  12:45a             9,001 C2006_36.odt
19/12/2006  12:45a         1,055,567 C2006_37.odt
19/12/2006  12:45a             9,001 C2006_38.odt
19/12/2006  12:45a         1,055,677 C2006_39.odt
19/12/2006  12:45a             9,002 C2006_40.odt
19/12/2006  12:45a         1,055,581 C2006_41.odt
19/12/2006  12:45a             9,001 C2006_42.odt
19/12/2006  12:45a         1,055,603 C2006_43.odt
19/12/2006  12:45a             9,001 C2006_44.odt
19/12/2006  12:45a         1,055,573 C2006_45.odt
19/12/2006  12:45a             9,001 C2006_46.odt
19/12/2006  12:45a         1,055,560 C2006_47.odt
19/12/2006  12:45a             9,001 C2006_48.odt
19/12/2006  12:45a         1,055,581 C2006_49.odt
19/12/2006  12:45a             9,001 C2006_50.odt
19/12/2006  12:45a             9,002 C2006_52.odt
19/12/2006  12:45a         1,055,593 C2006_51.odt
19/12/2006  12:45a         1,055,572 C2006_53.odt
19/12/2006  12:45a             9,001 C2006_54.odt
19/12/2006  12:45a         1,406,812 C2006_55.odt
19/12/2006  12:45a         1,407,076 C2006_56.odt
19/12/2006  12:45a         1,407,106 C2006_57.odt
19/12/2006  12:45a         1,406,816 C2006_58.odt
19/12/2006  12:45a         1,406,821 C2006_59.odt
19/12/2006  12:45a         1,407,074 C2006_60.odt
19/12/2006  12:46a         1,406,832 C2006_61.odt
19/12/2006  12:46a         1,406,808 C2006_62.odt
19/12/2006  12:46a         1,407,065 C2006_63.odt
19/12/2006  12:46a         1,406,826 C2006_64.odt
19/12/2006  12:46a         1,407,061 C2006_65.odt
19/12/2006  12:46a         1,407,086 C2006_66.odt
19/12/2006  12:46a         1,406,821 C2006_67.odt
19/12/2006  12:46a         1,406,815 C2006_68.odt
              69 File(s)     49,848,030 bytes
               0 Dir(s)  81,633,525,760 bytes free
Comment 1 michael.ruess 2006-12-21 10:11:41 UTC
Reassigned to HI.
Comment 2 dhislop 2006-12-26 01:12:37 UTC
I've attached to issue 72821 three files that allow you to also replicate this 
issue 72820. Note:
1. I've left graphics in the Writer file in case they are part of the issue. 
Also I haven't adjusted them to position correctly in the output, so at some 
point you'll have to delete or move one or more of them to see the footers you 
need to.
2. I left all the rows in the spreadsheet. You can delete some to make it work 
faster, but it certainly causes the issue with all rows in.
3. You'll probably have to reconnect the database file and spreadsheet, and 
register the database. I named the database connection "TestMerge".

Steps to reproduce:
1. Open the file <OOo Bug 72818 to 72821.odt>
2. Show data sources
3. Click Mail Merge button
4. Click Next 5 times - OOo will now be creating the docs (VERY slowly!)
5. Click Next
6. Select Save Merged Document
7. Select From (will be 1 to 74 if you've used all rows in the spreadsheet)
8. Click Save Documents, select a directory in which to save them. I used 
prefix "TestMerge".
9. The output files vary in length in a pattern similar to the directory 
listing included in the original report.

Please let me know if you need any more information.

regards - David
Comment 3 Rainer Bielefeld 2007-04-01 16:20:38 UTC
I checked with "2.2.0RC4  German version WIN XP: [680m14(Build9134)]" and can
confirm the problem with the attached test files and also with my own test
document and address data base: Mail Merge Wizzard saves truncated files with
function 'Save merged document > Save as individual documents'

Steps to reproduce with the test kit:
1. save all documents in "E:\USR\LJH\Spreadsheets"
2. Connect "TestMerge.odb" to "OOo Bug 72818 to 72821.ods", if necessary
3. open "OOo Bug 72818 to 72821.odt"
4. Menu 'Extras > Mail Merge Wizzard > Use current document > <NEXT>'
5. 'Letter > <NEXT>'
6. '<Select Address List>' in step 3 and select "TestMerge" 
    '<OK> > <NEXT>'
7. '<NEXT>' in step 4 ... 7
8. 'Save merged document > Save as individual documents' in step 8
   and save somewhere on harddisk
   Expected: 74 very similar documents should be created
   Actual: you get documents with alternating size 1.2 MB / 9KB
 
Comment 4 h.ilter 2007-04-03 15:09:45 UTC
HI->OS: Could not reproduce with own created document but with the bugdoc.
Tried to test with OS92 but the cws crashed.
Comment 5 h.ilter 2007-04-04 11:29:52 UTC
Still occurs with stable cws os92
Comment 6 Oliver Specht 2007-06-22 08:29:38 UTC
Fixed in cws os98 in sw/source/ui/dbmgr.cxx
Comment 7 Oliver Specht 2007-06-29 10:03:31 UTC
Reassigned for verification
Comment 8 h.ilter 2007-07-10 11:02:59 UTC
Verified with cws os98 = ok
Comment 9 h.ilter 2007-08-07 15:24:38 UTC
Still ok in 680m225_9196