Bug 156771

Summary: Mail Merge create fails to include all lines with fields
Product: LibreOffice Reporter: Erik Fjerstad <erikfjer>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: UNCONFIRMED ---    
Severity: normal CC: miguelangelrv
Priority: medium    
Version: 24.2.0.0 alpha0+   
Hardware: x86 (IA32)   
OS: Windows (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: Zip file containing test files, instructions, and description of the bug.

Description Erik Fjerstad 2023-08-14 18:16:54 UTC
Description:
With 24.2.0.0.alpha0+ (X86_64) / Build ID: 256d5fe2e7cb1bb002d5fe59527d3a3fbf6963f
Mail merge to a text file fails to include some lines, usually with fields that have no data (a blank cell in the db), also fails to include last line in field area.  Also different results between merge to email vs merge to file.  Previous versions (don't recall which ones) worked properly.  Open Office writer works properly with same files.

Steps to Reproduce:
1. Create db that has cells with no data
2. create .odt with lines that have cell description (title) and then field
3. Create email or create file, observe results with some missing lines.

Actual Results:
(Output From Libre Office Dev)
Primary lease holder for the specific hangar:    <New Info:          >

Thanks for your help in this project!

Expected Results:
(Output from Open Office Writer. Note 2 lines of text here missing from above)
Primary lease holder for the specific hangar:    <New Info:          >
Master Lease Holder (direct to TAA):   <New Info:          >
Remarks:   <New Info:          >

Thanks for your help in this project!


Reproducible: Always


User Profile Reset: Yes

Additional Info:
I believe this was working on earlier versions of the dev build, but I do not have records of which one.  The old "open office" worked as expected.
Comment 1 m_a_riosv 2023-08-15 00:46:54 UTC
Please attach the needed sample files.
Comment 2 Erik Fjerstad 2023-08-15 21:08:40 UTC
Created attachment 188987 [details]
Zip file containing test files, instructions, and description of the bug.

Actual database has proprietary and personal info.  Created test database that successfully shows the bug.  Zip file contains a description file and the necessary test input and output files:  .ods, .odb, .odt inputs as well as the .odt output with evidence of the bug.  Also included is the build info on the sw.
Comment 3 QA Administrators 2023-08-17 03:19:31 UTC Comment hidden (obsolete)