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

            Bug ID: 119294
           Summary: Intermittent crash when Frame and document have blank
                    database fields and "Hide paragraphs" option on
           Product: LibreOffice
           Version: 6.2.0.0.alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: domi...@dwalden.co.uk
            Blocks: 102998

Created attachment 144192
  --> https://bugs.documentfoundation.org/attachment.cgi?id=144192&action=edit
Database file for reproduction

_Description_

If I have a Frame which contains a database field and on the same line as the
Frame another database field, if both database fields are blank then I will
occasionally see a crash (about 1 in 3 times) when doing "Edit Individual
Documents".

Only happens when "Hide paragraphs of database fields (e.g., mail merge) with
an
empty value" is on.

I have not tried to see if this happens when doing Save or Print Merged
Documents or Send E-Mail Messages.

Crash report:
http://crashreport.libreoffice.org/stats/crash_details/b1a0a856-65e0-4a98-aac8-971aaceba566

_Steps to Reproduce_

Make sure you have Tools > Options > LibreOffice Writer >
Compatibility > "Hide paragraphs of database fields (e.g., mail merge) with an
empty value" option ticked.

1. Create a new Writer document
2. Insert > Frame > Frame..., click OK
3. Click inside the frame (to get a text cursor; may need to unfocus the frame
first)
4. Insert > Field > More Fields...
5. Click the tab "Database" and under Type select "Mail merge fields"
6. Next to "Add database file" click "Browse..." and select the attached
database file
7. From the Database selection select mailing_list_minimal > Sheet1 > Last Name
8. Click Insert
9. Without closing the dialog click outside of the frame, to return to cursor
to the top of the page
10. Click Insert again and click Close
11. Add a new paragraph after the db field inserted in step 10, by pressing
Enter key
12. Click View > Toolbars > Mail Merge
13. In the new toolbar click "Edit Individual Documents"

May need to repeat step 13 a few times. So far for me it happens within 3 goes.

_Actual Results_

LibreOffice exits.

_Expected Results_

LibreOffice shows the individual mail merge documents.


Reproducible: Intermittent

User Profile Reset: Yes


_Additional Info_
Version: 6.2.0.0.alpha0+
Build ID: 032c3f0d8403c6c7cdc60564641687bfb56cf9b3
CPU threads: 2; OS: Linux 3.16; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time:
2018-08-14_22:24:06
Locale: en-GB (en_GB.UTF-8); Calc: threaded

I could not reproduce on 6.1RC2.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=102998
[Bug 102998] [META] Mail merge bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to