Bug 125502 - Changing database through "exchange database" creates *.odb-files for unusable fileformats
Summary: Changing database through "exchange database" creates *.odb-files for unusabl...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Database
  Show dependency treegraph
 
Reported: 2019-05-26 13:47 UTC by Robert Großkopf
Modified: 2023-05-26 18:10 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Großkopf 2019-05-26 13:47:49 UTC
Description:
Open a new Writer document.
Go to Edit > Exchange Database.
Click "Browse" in the dialogue.
You could open every file of your documents-folder.

Now try a *.pdf-file.
The *.odb-file for this *.pdf-file will be created by the wizard in the documents-folder.
Close the wizard.
Open the created *.odb-file in the documents-folder. 
Try to open the table-pane of the *.odb-file. 
Won't work because there is no connection available. Seems the default for no available connection ist to set JDBC to this ...

Steps to Reproduce:
See above

Actual Results:
See above

Expected Results:
See above (I don't understand this form: Description is filled by all the content)


Reproducible: Always


User Profile Reset: No



Additional Info:
Tried all this with OpenSUSE 15, 64bit rpm Linux, LO 6.2.4.2
Comment 1 Xisco Faulí 2019-05-27 13:39:35 UTC Comment hidden (obsolete)
Comment 2 Xisco Faulí 2019-05-27 13:42:20 UTC
My previous comment was wrong.
I can reproduce it in

Version: 6.3.0.0.alpha1+
Build ID: 53325b40b557cc84d8d21c1baa0ef8d3bfc00ab8
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded

The new database is in 'My Documents'
Comment 3 Xisco Faulí 2019-05-27 13:43:28 UTC
Also reproduced in

Versión: 6.2.3.2
Id. de compilación: aecc05fe267cc68dde00352a451aa867b3b546ac
Subprocs. CPU: 1; SO: Windows 6.1; Repres. IU: predet.; VCL: win; 
Configuración regional: es-ES (es_ES); Idioma de IU: es-ES
Calc: threaded
Comment 4 Xisco Faulí 2019-05-27 13:44:13 UTC
Also reproduced in

LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 5 QA Administrators 2021-05-27 05:01:56 UTC Comment hidden (obsolete)
Comment 6 Robert Großkopf 2021-05-27 14:20:35 UTC
Bug is still the same in LO 7.1.3.2 on OpenSUSE 15.2 64bit rpm Linux.
Comment 8 himajin100000 2021-10-27 20:19:23 UTC
might have missed something. continuing investigation...
Comment 9 himajin100000 2021-10-28 05:32:05 UTC
sorry, no exception was thrown.
Comment 10 Alex Thurgood 2021-10-28 08:51:16 UTC
Still present in 

Version: 7.2.1.2 / LibreOffice Community
Build ID: 87b77fad49947c1441b67c559c339af8f3517e22
CPU threads: 8; OS: Mac OS X 10.16; UI render: default; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded
Comment 11 himajin100000 2021-10-29 07:35:10 UTC
I would propose returning here.

https://opengrok.libreoffice.org/xref/core/sw/source/uibase/dbui/dbmgr.cxx?r=8a017d25#2658
Comment 12 himajin100000 2021-10-29 07:37:02 UTC
and give error message here. (through catching an exception or checking the return value or whatever)
https://opengrok.libreoffice.org/xref/core/sw/source/ui/fldui/changedb.cxx?r=200626e4#257