Bug 165661 - Data provider does not remember settings in spreadsheet document
Summary: Data provider does not remember settings in spreadsheet document
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
25.8.0.0 alpha0+
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Data-Provider
  Show dependency treegraph
 
Reported: 2025-03-10 00:06 UTC by Olivier Hallot
Modified: 2025-03-10 10:30 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 Olivier Hallot 2025-03-10 00:06:09 UTC
The Data Provider (Data > Data Provider) does no store settings in the spreadsheet document.

Steps to reproduce
1) set a data provider in a database range on whatever data format (CSV, HTML, XML or SQL)
2) Click OK to import data and close dialog.
3) Open the Data Provider again

Actual result:
The Data Provider settings are lost and must be re-entered.

Expected result:
For a given database range, the corresponding settings should be available in the dialog. Therefore the data format, the Identifier, the transformations list should be restored.

The Data Provider settings should be stored in the spreadsheet document.
Comment 1 m_a_riosv 2025-03-10 00:54:57 UTC
+1

It should be saved with the database range, going to edit that range, source is blank.
Comment 2 Rafael Lima 2025-03-10 10:30:11 UTC
+1 from my side as well

To store these settings in the document we can use the same strategy used by the solver, which is storing information using hidden named ranges.

Or we could define an ODF extension to store these settings in the file (a more complicated strategy, but maybe more appropriate).

Would there be any third other option?