Bug 161884 - FORMCONTROLS Form > Properties > Data source: choosing an ODS file should not hang, but fail gracefully
Summary: FORMCONTROLS Form > Properties > Data source: choosing an ODS file should not...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.2.4.2 release
Hardware: All All
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Form-Controls
  Show dependency treegraph
 
Reported: 2024-07-03 15:13 UTC by Michael Otto
Modified: 2024-11-26 12:32 UTC (History)
2 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 Michael Otto 2024-07-03 15:13:58 UTC
when in Form Properties an ods file is selected for Data source, LO always hangs

PROBLEM DESCRITION:
open a new Writer file
Form > Text box - draw a box
Form > Properties - Data:
 Data source - file open menu - select any ods file

==> error message (2 times):
connection to data source ">filename<" could not be created [[translated from DE->EN]] at /home/buildslave/source/libo-core/extensions/source/propctrlr/formcomponenthandler.cxx:2425

==> LibreOffice hang


Version: 24.2.4.2 (X86_64) / LibreOffice Community
Build ID: 51a6219feb6075d9a4c46691dcfe0cd9c4fff3c2
CPU threads: 2; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-US (de_DE.UTF-8); UI: en-US
Calc: threaded
Comment 1 Robert Großkopf 2024-07-04 06:18:29 UTC
Have tested this.
An error appears if I choose a Calc file for datasource. No wonder: It isn't a database.
Then 2 different messages followed and I could try the next step with a real database.
No hang of LibreOffice here with
Version: 24.2.4.2 (X86_64) / LibreOffice Community
Build ID: 51a6219feb6075d9a4c46691dcfe0cd9c4fff3c2
CPU threads: 6; OS: Linux 6.4; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Calc: threaded

Note: Create a Base file, which connects to the Calc file. You could establish the connection to this Base file.
Comment 2 Buovjaga 2024-08-22 06:33:14 UTC
Confirming per last comment and adjusting summary