https://bugs.freedesktop.org/show_bug.cgi?id=74129

          Priority: medium
            Bug ID: 74129
          Assignee: [email protected]
           Summary: incorrcet computations in conditional texts
          Severity: major
    Classification: Unclassified
                OS: Windows (All)
          Reporter: [email protected]
          Hardware: x86 (IA32)
            Status: UNCONFIRMED
           Version: 4.2.0.1 rc
         Component: Writer
           Product: LibreOffice

Created attachment 92887
  --> https://bugs.freedesktop.org/attachment.cgi?id=92887&action=edit
3 files for demonstration of mail merge bug in LO4201

Problem description: Conditional text is not properly computed when mail merge
writer document.

(refer to attached zip-file for 3 documents:
- the mail merge template letter (Herma_5056_2_mal_6.odt), 
- the dataset and field names (CG_DG.ods; 6 records) and 
- the resulting personalised document (Feldauswertungs_Bug.odt; 2 x 6 address
fields with address labels (counted rows first later); only 6 data sets
attached leaving the last 6 labels empty)

For the labels generated by record 5 and 6 (the last two labels) it is correct,
that the words ' und Herr ' appear in the personalised document (see attached
file Feldauswertungs_Bug.odt), because the datafield Name2 (see attached spread
sheet (CG_DG.ods)) is not empty. But in every other of the address labels
(generated by record 1 to 4) the two words ' und Herr ' should not appear,
because here the datafield Name2 is empty.

Likewise the leading blank in record 2 prior to the surname should not appear,
because this blank as conditional text should only appear, if the field
Vorname1 is NOT empty.

In each version prior to LO 4.2 this was working as intended.

-- 
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