<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 - MAILMERGE Save all documents no longer generates all documents if custom From-To values were set"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=144427">144427</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>MAILMERGE Save all documents no longer generates all documents if custom From-To values were set
          </td>
        </tr>

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

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

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

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

        <tr>
          <th>Keywords</th>
          <td>bibisected, bisected, regression
          </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>libreoffice@nisz.hu
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>nemeth@numbertext.org, varga.balazs3@nisz.hu
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>102998
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="https://bugs.documentfoundation.org/attachment.cgi?id=174945" name="attach_174945" title="Screenshot of the dialog in Writer after setting From and changing back">attachment 174945</a> <a href="https://bugs.documentfoundation.org/attachment.cgi?id=174945&action=edit" title="Screenshot of the dialog in Writer after setting From and changing back">[details]</a></span>
Screenshot of the dialog in Writer after setting From and changing back

When creating mail merges it is possible to set the merged document ranges with
the From – To fields.
If you change the values there, then change your mind and select to
save/print/email all documents, the previously set range is still used instead
of generating all documents.

Steps to reproduce:
    1. Set up a mail merge document with the <span class=""><a href="https://bugs.documentfoundation.org/attachment.cgi?id=174941" name="attach_174941" title="Example mail merge document from Writer 7.3 master">attachment 174941</a> <a href="https://bugs.documentfoundation.org/attachment.cgi?id=174941&action=edit" title="Example mail merge document from Writer 7.3 master">[details]</a></span> and attachment
174942
    2. In the Mail Merge toolbar press the Save Merged Documents button, but it
also happens with the Print merged documents and Send Email Messages buttons
too
    3. Under Save As Options, select the From option and set 2
    4. Change it back to Save as individual documents
    5. Press Save Documents
    6. Enter a name in the file save dialog.

Actual results:
Only two documents – contentwise the second and third – are saved, as set under
the From option.

Expected results:
All three documents should be saved.

LibreOffice details:
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: c7b5e6566d9b24a0a996c739a945004d9aadee2f
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: CL

Additional Information:
This started with:
<a href="https://git.libreoffice.org/core/+/ec44f87d5b99a3299322d0b79abc4c6808877865%5E%21">https://git.libreoffice.org/core/+/ec44f87d5b99a3299322d0b79abc4c6808877865%5E%21</a>

author  Balazs Varga <<a href="mailto:balazs.varga991@gmail.com">balazs.varga991@gmail.com</a>>        Mon Mar 22 13:34:37
2021 +0100
committer       László Németh <<a href="mailto:nemeth@numbertext.org">nemeth@numbertext.org</a>>   Wed Mar 31 12:24:22
2021 +0200

<a class="bz_bug_link 
          bz_status_VERIFIED  bz_closed"
   title="VERIFIED FIXED - MAILMERGE: Save/Print Merged Documents command processes every record even when it is unnecessary"
   href="show_bug.cgi?id=117212">tdf#117212</a> sw mailmerge: merge only the selected range</pre>
        </div>
      </p>

        <div id="referenced">
          <hr style="border: 1px dashed #969696">
          <b>Referenced Bugs:</b>
          <ul>
              <li>
                [<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [META] Mail merge bugs and enhancements"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=102998">Bug 102998</a>] [META] Mail merge bugs and enhancements
              </li>
          </ul>
        </div>
        <br>

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

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