Description: When a mail merge output file is single (one document for all records in the database) and some fields are empty, the writer text line is hidden for these empty fields. When a mail merge output file is individual (one document for each record in the database) and some fields are empty, the writer text line is not hidden. Steps to Reproduce: 1. download sample data 2. open test-bug.ods : the second record has no values in fields "unit cost" and "total cost" 3. open bug-text.odt and output as file as a single document : in that document, on the second page, there are no lines for the fields "unit cost" and "total cost". 4. open bug-text.odt and output as file as individual documents : in the second document, there are lines for the fields "unit cost" and "total cost". Actual Results: When opening bug-text.odt and output as file as individual documents : in the second document, there are lines for the fields "unit cost" and "total cost". Expected Results: When opening bug-text.odt and output as file as individual documents, the expected result should be the same as for the single document : no text line for empty fields. Reproducible: Always User Profile Reset: No Additional Info: Version: 6.3.5.2 (x64) Build ID: dd0751754f11728f69b42ee2af66670068624673 CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; Locale: nl-BE (en_BE); UI-Language: en-US Calc: threaded
Created attachment 161216 [details] folder with sample to reproduce (odt, ods and 3 output files)
Thank you for reporting the bvug. Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ? I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version. Change to RESOLVED WORKSFORME, if the problem went away.
Tested with Version 6.4.4.2 (x64), and the problem still exists.
Could not reproduce. The contents of the second outputted doc: Sample mail merge document. Dear Gill, This is your order: order date: 26.02.19 ordered item: Pen number of units: 27 Version: 6.4.4.2 (x64) Build ID: 3d775be2011f3886db32dfd395a6a6d1ca2630ff CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: default; VCL: win; Locale: fi-FI (fi_FI); UI-Language: en-US Calc: threaded Version: 7.1.0.0.alpha0+ (x64) Build ID: baa84b5b4d287da0f00fc3fbf11f464f267c9202 CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: default; VCL: win Locale: fi-FI (fi_FI); UI: en-US Calc: threaded
I tested again with Version: 6.4.6.2 (x64) Build ID: 0ce51a4fd21bff07a5c061082cc82c5ed232f115 CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win; Locale: fr-BE (en_BE); UI-Language: en-US Calc: threaded and the problem is still there.
Can you test with LibreOffice Safe mode, Help - Restart in safe mode and then Continue in safe mode?
Hello, I did the test in Safe Mode, as you described. The problem is still there.
I also didn't see at first with default setting of View / Field Hidden Paragraph. Can be seen with that field turned on. So the issue is: single output is a simple text and individual output are fields. It's explained in comment 10 of bug 89178 and if would be NotABug abd I also would not like this to change. I'll confirm this bug as Documentation, so that it's explained in Mail merge help.
On a second thought, let's merge with existing bug for better visibility. *** This bug has been marked as a duplicate of bug 76226 ***