[Libreoffice-bugs] [Bug 125381] Index don't appear in management dialog for odb linked to dBase file (Windows or gen rendering)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon May 20 08:18:57 UTC 2019


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

--- Comment #2 from Julien Nabet <serval2412 at yahoo.fr> ---
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190520/91f4242b/attachment.html>


More information about the Libreoffice-bugs mailing list