Bug 169036 - Data provider DELETEROW_TRANSFORMATION is not written to file
Summary: Data provider DELETEROW_TRANSFORMATION is not written to file
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
26.2.0.0 alpha0+ master
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Data-Provider
  Show dependency treegraph
 
Reported: 2025-10-24 13:56 UTC by Regina Henschel
Modified: 2025-10-24 13:56 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
example CSV with 3 columns, label row and 100 records (1.76 KB, application/vnd.ms-excel)
2025-10-24 13:56 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2025-10-24 13:56:15 UTC
Created attachment 203516 [details]
example CSV with 3 columns, label row and 100 records

Download the attached csv file to your PC.
Start a new spreadsheet. Define a database range "myImport" for range $Sheet1.$A$2:$C$101 and make sure that "contains column labels" is unchecked (that is in Options).
Menu > Data > Data Provider.
In that dialog do these:
* in section `Source` select the database range "myImport".
* Click on the `Browse` button and select the downloaded csv file.
* in section `Transformations` select entry `Split Column` and click on `Add` button. You get additional fields.
* In field `Separator string` insert a pipe symbol, that is | . In field `Column index` enter 1. Click the `Apply` button below the Preview.
* in section `Transformations` click on `Add` again to insert the next `Split Column` transformation.
* Enter the pipe symbol in the field `Separator string` and value 2 in `Column index` field. Click the `Apply` button below the Preview.
* In section `Transformations` select entry `Delete Rows` and click on `Add`
* In field `Lookup value` enter text `Rank`, in field `Column index` enter 1. Click the `Apply` button.
The preview looks good. Click on OK button.

You should have got a list with 100 popular male and female English names without header row.

Make sure you save to extended ods format.
Save the document.

Reload the document.
Your data shows the deleted row: Rank, Males, Females

Reason is, that the transformation type DELETEROW_TRANSFORMATION is not handled in the switch in https://opengrok.libreoffice.org/xref/core/sc/source/filter/xml/xmlexprt.cxx?r=73a6735652dc5bbb4ac51743f41bbed3fe5d1060#4212