[Libreoffice-bugs] [Bug 123073] New: mail merge: conditional text followed by empty field not printed

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Jan 30 22:09:44 UTC 2019


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

            Bug ID: 123073
           Summary: mail merge: conditional text followed by empty field
                    not printed
           Product: LibreOffice
           Version: 6.1.4.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: tmplee at gmail.com

Created attachment 148779
  --> https://bugs.documentfoundation.org/attachment.cgi?id=148779&action=edit
small test database (four records, four fields each record)

Conditional text that should be printed (included) based on a database field
followed by a database field that happens to by empty is not included.  Problem
does not occur in 6.0 (which has a different problem that appears to have been
reported) but occurs in 6.1.4.2 and all versions thereafter (including 6.3.0.0
alpha).  I do not know which version between 6.0 and 6.1.4.2 the problem arises
in — haven't checked.  Attached are three documents:  a very small database, a
label template, and the result of merging the db into the template. In short,
the output should look something like

C1                     C2
field                  B



C3                      C4
                        field B


but what it produces (in the versions with the bug) is

C1                     C2
                       B



C3                      C4
                        field B

"field" is conditional text base on whether a particular db field is empty or
not;
following ir is the field "B" which is "B" in some records and empty in others.

(1st attachment including with initial bug report; remaining two in later
comments)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190130/2f0c591e/attachment-0001.html>


More information about the Libreoffice-bugs mailing list