Bug 153221 - FILESAVE ODS Cell Validation source as structured reference is saved as absolute cell reference
Summary: FILESAVE ODS Cell Validation source as structured reference is saved as absol...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.1.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ODF-import Cell-Validity Calc-DataRange
  Show dependency treegraph
 
Reported: 2023-01-26 13:36 UTC by Gabor Kelemen (allotropia)
Modified: 2025-02-16 03:10 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Calc (17.86 KB, application/vnd.oasis.opendocument.spreadsheet)
2023-01-26 13:36 UTC, Gabor Kelemen (allotropia)
Details
The example file before saving as ods (58.50 KB, image/png)
2023-01-26 13:36 UTC, Gabor Kelemen (allotropia)
Details
The example file after save and reload (54.12 KB, image/png)
2023-01-26 13:37 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2023-01-26 13:36:10 UTC
Created attachment 184930 [details]
Example file from Calc

This is split out from bug 139499 for the ods case.

Attached file had a cell validation criteria as structured reference set in A9: ExampleRange[Left]
When saved as ods (see attached file) this is converted to an absolute cell range as $Sheet1.$A$3:$A$6 which matches the range of ExampleRange[Left] but the dynamic nature of the validation reference is lost.

1. Open attached file
2. Select A9 and go to Data - Validity 
3. Observe the Criteria -> Source is set as $Sheet1.$A$3:$A$6
4. Change this to ExampleRange[Left] (or ExampleRange[Right] )
5. Observe that the dropdown list offers the values from A3:A6
6. Save the file as ODS & reload
7. Select A9 and go to Data - Validity 
-> Now the Source field is back to $Sheet1.$A$3:$A$6 instead of ExampleRange[Left] (or $Sheet1.$B$3:$B$6 instead of ExampleRange[Right] )

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 0bb90afaeb193181d7b98b79e962549d8a1dd85a
CPU threads: 14; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: de-DE (hu_HU); UI: en-US
Calc: threaded
Comment 1 Gabor Kelemen (allotropia) 2023-01-26 13:36:42 UTC
Created attachment 184931 [details]
The example file before saving as ods
Comment 2 Gabor Kelemen (allotropia) 2023-01-26 13:37:07 UTC
Created attachment 184932 [details]
The example file after save and reload
Comment 3 Eike Rathke 2023-01-26 15:08:43 UTC
That's because ODFF doesn't define Table Structured References formulas. We (I) will need to submit that to the OASIS ODF TC.
Comment 4 QA Administrators 2025-02-16 03:10:26 UTC
Dear Gabor Kelemen (allotropia),

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug