<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 - Closing Mail merge wizard removes its data source from Registered databases"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=144532">144532</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Closing Mail merge wizard removes its data source from Registered databases
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>6.4.0.3 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>caolanm@redhat.com, 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=175049" name="attach_175049" title="Screenshot of the attachment 174941 in Writer">attachment 175049</a> <a href="https://bugs.documentfoundation.org/attachment.cgi?id=175049&action=edit" title="Screenshot of the attachment 174941 in Writer">[details]</a></span>
Screenshot of 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> in Writer

When a mail merge document contains embedded data source information, opening
the file registers the data source.
Opening the Mail Merge wizard and closing it with Cancel removes this
registration from the Data Sources panel and Registered Databases dialog.
Even after this the displayed records can be changed with the left-right icons
on the MM toolbar. 
Saving and reloading the file loses the data source connection information
permanently.

Steps to reproduce:
    1. Download  <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> from <a class="bz_bug_link 
          bz_status_VERIFIED  bz_closed"
   title="VERIFIED FIXED - UI In Email merged document dialog it’s possible to select 0 as range"
   href="show_bug.cgi?id=144425">bug 144425</a> and save ODS attachment
174942 to the Documents folder
    2. On the Mail Merge toolbar open the Data Sources view, you should see the
Teszt-level data source
    3. Open the Mail Merge wizard from the Tools menu or MM tollbar
    4. Close it immediately

Actual results:
The Teszt-level data source is gone from the Data Sources view.

Expected results:
The Teszt-level data source should be kept.

LibreOffice details:
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 80a47aae1419842f4496f02028e2b49763aea25b
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:
Bibisected using bibisect-win64-6.4 to:
URL:
<a href="https://cgit.freedesktop.org/libreoffice/core/commit/?id=8c66efa030e98cfdf5da20be368566d64e43c5d1">https://cgit.freedesktop.org/libreoffice/core/commit/?id=8c66efa030e98cfdf5da20be368566d64e43c5d1</a>
author  Caolán McNamara <<a href="mailto:caolanm@redhat.com">caolanm@redhat.com</a>>    Thu Sep 05 12:22:38 2019 +0100
committer       Caolán McNamara <<a href="mailto:caolanm@redhat.com">caolanm@redhat.com</a>>    Thu Sep 12 20:28:14
2019 +0200

weld OCopyTableWizard cluster

Adding CC to: Caolán McNamara</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>