<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - the result of a mail merge (with some empty fields) differs depending on whether the output file is single or individual"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=133337">133337</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>the result of a mail merge (with some empty fields) differs depending on whether the output file is single or individual
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.3.5.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Writer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jnplg@outlook.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>