https://bugs.documentfoundation.org/show_bug.cgi?id=106959

            Bug ID: 106959
           Summary: In mail merge if the output document is saved as
                    individual documents the second document is identical
                    to the first one
           Product: LibreOffice
           Version: 5.3.1.2 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
In mail merge with a simple document, even with only a merge field, if the
document contains a table in the top of the page (before the fields) when you
"Save merged documents" as individual documents, you obtain the exact number of
output files, but the first and the second files are identical (in the content)
and related to the first record of data. The last obtained file contains the
merged content of the 2 last records of data. The behavior returns normal when
the table is removed from the mail merge master document.
The same "tabled" document merged with Openoffice does not present this 
behavior. 




Steps to Reproduce:
1. create a new empty writer document (odt);
2. with Tools -> "Mail Merge Wizard" select an  "Address List" (a simple ods
file with a field of data);
3. insert a table on the top of the page;
4. open "Data Sources" (CTRL+SHIFT+F4);
5. insert the field in the document with drag and drop after the table
position;
6. on the "Mail Merge toolbar" select "Save merged documents" -> "Save as
individual document" -> Save Documents;
7. select a name for merged individual files; 


Actual Results:  
The number of the files obtained is correct (the same of the rows of data).
The first and the second file (name_0, name_1) have the same content, if the
rows of data contains [1,2,3,..,n] the first and the second file refer to the
same value of data "1". The last file name_n-1 contains 2 pages with value of
n-1 and n rows data.

Expected Results:
The first file contains the first data row.
The second file contains the second data row.
....
The last file contains the last data row.


Reproducible: Always

User Profile Reset: No

Additional Info:
If the table (on the top of the page) is deleted the behavior of mail merge
becomes normal.


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101
Firefox/52.0

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to