[Libreoffice-bugs] [Bug 118845] New: Both Male and Female Salutations shown when hide paragraphs of empty fields option selected

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Jul 19 16:24:46 UTC 2018


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

            Bug ID: 118845
           Summary: Both Male and Female Salutations shown when hide
                    paragraphs of empty fields option selected
           Product: LibreOffice
           Version: 6.1.0.1 rc
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: dominic at dwalden.co.uk

Description:
If I have a mail merge document with a "personalized salutation" (male and
female) and I have the compatibility option "Hide paragraphs of database fields
(e.g., mail merge) with an empty value" ticked, when I "Edit Individual
Documents" or "Save Merged Documents" the resulting documents contain both the
male and female salutation. I will attach screenshot example.

This may also be true when I Print or Email the merged documents, but I have
not tried this.

If I untick the "Hide paragraphs..." option, only the one line of salutation
(for either male or female) will show. I will attach screenshot example.

I have reproduced this on 6.1RC1 and today's nightly build.

Steps to Reproduce:
1. Open a new Write document.
2. Go to Tools > Options > LibreOffice Writer > Compatibility and check that
"Hide paragraphs of database fields..." is ticked. Tick it if not and click OK.
3. Select Tools > Mail Merge Wizard...
4. Check radio button "Use current document" and click Next.
5. Check radio button "E-mail message" (it is also reproducible with "Letter")
and click Next.
6. If you do not have an address list, click Select Different Address List, in
the new dialog click "Add..." and select an address list (you may use the one I
will attach). Click OK and then Next.
7. Make sure that both "This document should contain a salutation" and "Insert
personalized salutation" are ticked, and that you have both a Male and Female
variant of the Salutation (which I guess is default). Click Next and then
Finish.
8. Click "Edit Individual Documents"

Actual Results:
You will see one or more new documents which start:
"Dear Mrs. Lname,
Dear Mr. Lname,"

Expected Results:
Each document should start either:
"Dear Mrs. Lname,"
or
"Dear Mr. Lname,"
(In our case probably the latter as we have not distinguished the genders of
our address entries)


Reproducible: Always


User Profile Reset: Yes



Additional Info:
_Versions_
6.1RC1 (6.1.0.1_Linux_x86-64_deb)
6.1.0.1.0+ 4e5248f32d8fdfd4655bd15bd60d83e9a0c6e540 2018-07-19_00:36:46
Linux-rpm_deb-x86_64

The option: "Hide paragraphs of database fields (e.g., mail merge) with an
empty value" was added under bug 35798 and is listed in the 6.1 Release Notes
https://wiki.documentfoundation.org/ReleaseNotes/6.1#Mail_merge.

-- 
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/20180719/c99ff666/attachment-0001.html>


More information about the Libreoffice-bugs mailing list