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

            Bug ID: 95292
           Summary: Mail merge does not print the last record when having
                    odd records
           Product: LibreOffice
           Version: 5.0.1.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 119919
  --> https://bugs.documentfoundation.org/attachment.cgi?id=119919&action=edit
Database with 5 records

When you print from a database having odd number of records and that you have 2
records on one sheet the last record is not printed.

So if you have 5 record numbered from 1 - 5 only 1 - 4 (2 sheets) are printed
and record 5 is rejected.

Behaviour:

Printing to an document is only printing fully filled sheets. Sheet 3
containing record 5 is not printed.

Expected behaviour:

Printing all sheets leaving the last sheets with only one record.

How to verify bug:

1. Create a spreadsheet with headers called number and text.
2. Create 5 records numbered from 1 - 5 and some text
3. Save spreadsheet as test.ods
4. Register spreadsheet as a database test.
5. Create a new document using New/Labels and Options with 'Synchronize
contents' marked
6. Use Brand: Avery A4 | Type: C2351 Avery A5 Greeting Card.
7. Insert from database field 'Text'
8. Using CTRL+F2 (More Fields) to insert 'Next record' after 'Text'
9. Press F4 to generate mail merging and chose the 5 record.
10. Save to a file and check that only the consecutive records 1 - 4 is to be
found in the record.

Attached test data in a database

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

Reply via email to