https://bugs.documentfoundation.org/show_bug.cgi?id=97694
Julien Nabet <serval2...@yahoo.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |serval2...@yahoo.fr
See Also| |https://bugs.documentfounda
| |tion.org/show_bug.cgi?id=14
| |3400
--- Comment #29 from Julien Nabet <serval2...@yahoo.fr> ---
During tests on https://bugs.documentfoundation.org/show_bug.cgi?id=143400
"Query with most functions could not be created in GUI", I noticed this log:
warn:dbaccess:29276:29276:dbaccess/source/core/dataaccess/ModelImpl.cxx:932:
com.sun.star.container.NoSuchElementException message:
/home/julien/lo/libreoffice/package/source/xstor/xstorage.cxx:2978:
/home/julien/lo/libreoffice/package/source/xstor/xstorage.cxx:2978
Debugging a bit, I noticed it throwed in
dbaccess/source/core/dataaccess/ModelImpl.cxx:
901 xMetaInf->copyElementTo(aScriptSignName, xTargetMetaInf, aScriptSignName);
(see
https://opengrok.libreoffice.org/xref/core/dbaccess/source/core/dataaccess/ModelImpl.cxx?r=24a3d4ee#901)
gdb indicates "aScriptSignName" contains "macrosignatures.xml".
But I don't understand why LO goes on this part.
Indeed, bTryToPreserveScriptSignature is false by default but then:
850 bool bIsEmbedded = sLocation.startsWith("vnd.sun.star.pkg:") &&
sLocation.endsWith("/EmbeddedDatabase");
851 if (!bIsEmbedded && !sLocation.isEmpty()
852 && (aSignatureState == SignatureState::OK || aSignatureState ==
SignatureState::NOTVALIDATED
853 || aSignatureState == SignatureState::INVALID
854 || aSignatureState == SignatureState::UNKNOWN))
855 {
856 bTryToPreserveScriptSignature = true;
...
The odb file from tdf#143400 uses embedded HSQLDB so it seems this line:
bool bIsEmbedded = sLocation.startsWith("vnd.sun.star.pkg:") &&
sLocation.endsWith("/EmbeddedDatabase");
is wrong.
On gdb, I got:
(gdb) p sLocation
$3 = "file:///tmp/DefaultDate.odb"
so bIsEmbedded can't be true in my case.
Unless we don't talk about the "embeddedness" of the database but the
"embeddedness" about something else?
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs