https://bugs.documentfoundation.org/show_bug.cgi?id=125381

--- Comment #2 from Julien Nabet <[email protected]> ---
Adding some debugging, I found an exception here:
https://opengrok.libreoffice.org/xref/core/dbaccess/source/ui/dlg/dbfindex.cxx?r=3c0003c9#252
246      try
247      {
248          aFile = ::ucbhelper::Content(m_aDSN,Reference<
css::ucb::XCommandEnvironment >(), comphelper::getProcessComponentContext());
249          bFolder = aFile.isFolder();
250      }
251      catch(Exception&)
252      {
253          return;
254      }
ODbaseIndexDialog::Init caught class com::sun::star::uno::Exception msg: No
Content Provider available for URL:
so url is empty.

After more debugging, I noticed
https://opengrok.libreoffice.org/xref/core/dbaccess/source/ui/dlg/detailpages.cxx?r=e3e6f43b#201:

198          ::dbaccess::ODsnTypeCollection* pTypeCollection = pTypesItem ?
pTypesItem->getCollection() : nullptr;
199          if (pTypeCollection && pUrlItem &&
pUrlItem->GetValue().getLength())
200              m_sDsn = pTypeCollection->cutPrefix(pUrlItem->GetValue());

At beginning m_sDsn =
sdbc:dbase:C:\BLP\bugs\dbase_examples\dbase_ex\template\t3\with_data

but the last time, m_sDsn =
~sdbc:dbase:C:\BLP\bugs\dbase_examples\dbase_ex\template\t3\with_data

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to