Bug 152766 - Insert - Cross-reference or Fields - More Fields: legacy.osl ODatabaseModelImpl::getOrCreateRootStorage warnings in console with debug LO
Summary: Insert - Cross-reference or Fields - More Fields: legacy.osl ODatabaseModelIm...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Fields-Dialog console-noise Cross-reference-dialog
  Show dependency treegraph
 
Reported: 2022-12-31 10:36 UTC by BogdanB
Modified: 2023-02-14 16:06 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
a document with a title, in order in insert a cross-reference to that (9.06 KB, application/vnd.oasis.opendocument.text)
2022-12-31 10:36 UTC, BogdanB
Details

Note You need to log in before you can comment on or make changes to this bug.
Description BogdanB 2022-12-31 10:36:14 UTC
Description:
Open a new Writer document. Insert - Cross-reference

In the dbg build of LibreOffice I get in terminal this warnings:
warn:legacy.osl:1416922:1416922:dbaccess/source/core/dataaccess/ModelImpl.cxx:767: ODatabaseModelImpl::getOrCreateRootStorage: no source to create the storage from!
warn:legacy.osl:1416922:1416922:dbaccess/source/core/dataaccess/ModelImpl.cxx:767: ODatabaseModelImpl::getOrCreateRootStorage: no source to create the storage from!
warn:legacy.osl:1416922:1416922:dbaccess/source/core/dataaccess/ModelImpl.cxx:767: ODatabaseModelImpl::getOrCreateRootStorage: no source to create the storage from!
warn:legacy.osl:1416922:1416922:dbaccess/source/core/dataaccess/ModelImpl.cxx:767: ODatabaseModelImpl::getOrCreateRootStorage: no source to create the storage from!
warn:legacy.osl:1416922:1416922:dbaccess/source/core/dataaccess/ModelImpl.cxx:767: ODatabaseModelImpl::getOrCreateRootStorage: no source to create the storage from!
warn:legacy.osl:1416922:1416922:dbaccess/source/core/dataaccess/ModelImpl.cxx:767: ODatabaseModelImpl::getOrCreateRootStorage: no source to create the storage from!

If the warning says no source, I tested on a document that had a title and I can insert Cross-Reference - DocInformation - title, but also the same error.

Steps to Reproduce:
see description

Actual Results:
warnings

Expected Results:
no warnings


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 12e8d57e791bb1befc0716d4d02af7d1d1ccb4ae
CPU threads: 4; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 1 BogdanB 2022-12-31 10:36:42 UTC
Created attachment 184408 [details]
a document with a title, in order in insert a cross-reference to that
Comment 2 BogdanB 2022-12-31 10:54:33 UTC
The same warnings if we try Insert - Fields - More fields.
Comment 3 Stéphane Guillou (stragu) 2023-02-14 16:06:23 UTC
Confirmed for both dialogs with:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: befcb86946c049c1a430c95f93ab47ba6ffcdf4e
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded