Bug 38356 - Saving formula in Excel XML format is invalid
Summary: Saving formula in Excel XML format is invalid
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
3.4.0 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: MSO-XML2003
  Show dependency treegraph
 
Reported: 2011-06-15 14:53 UTC by Yogurt
Modified: 2024-03-14 03:16 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 Yogurt 2011-06-15 14:53:58 UTC
1. Create a new spreadsheet.
2. Enter a number in A1.
3. Enter a number in A2.
4. Write "=SUM(A1:A2)" in A3 (or your localized equivalent of SUM).
5. Save as Excel 2003 XML format.
6. Reopen the saved file in LibO Calc, or MS Excel, or check it with your favourite text editor.

Expected behaviour:
<Cell ss:Formula="=SUM([.A1:.A2])"> is written.
What really happens:
<Cell ss:Formula="of:=SUM([.A1:.A2])"> is written.

What is that extra "of:" there?




LibreOffice 3.4.0
OOO340m1 (Build:12)
with the Hungarian Pack
on Windows 7 x64
Comment 1 Björn Michaelsen 2011-12-23 12:21:59 UTC Comment hidden (obsolete)
Comment 2 Yogurt 2012-03-26 05:47:42 UTC
This bug is still present in LibreOffice 3.5.1 release.
Comment 3 A (Andy) 2013-03-10 10:22:11 UTC
reproducible with LO 4.0.1.2 (Win7 Home, 64bit)

the formula is broken
Comment 4 Ruslan Fatakhov 2014-03-30 17:21:32 UTC
reproducible with LO Calc 4.2.2.1 (Win XP, Ubuntu 13.10)

the formula is broken
Comment 5 Joel Madero 2015-05-02 15:42:11 UTC Comment hidden (obsolete)
Comment 6 Buovjaga 2015-06-20 15:09:31 UTC
Still true.

Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+
Build ID: 3ecef8cedb215e49237a11607197edc91639bfcd
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-06-19_23:16:58
Locale: fi-FI (fi_FI)
Comment 7 QA Administrators 2016-09-20 10:11:30 UTC Comment hidden (obsolete)
Comment 8 raal 2018-06-12 19:13:46 UTC
repro LO 6,win7

XML generated by excel:
<Cell ss:Formula="=SUM(R[-2]C:R[-1]C)"><Data ss:Type="Number">3</Data></Cell>
Comment 9 QA Administrators 2019-06-13 03:01:03 UTC Comment hidden (obsolete)
Comment 10 Yogurt 2020-03-13 18:37:40 UTC
It was an easy solution for this problem guys. :-/

The Excel 2003 XML format was removed from Calc, so this bug is no longer present in LO 6.4 as one cannot save in Excel 2003 XML at all. Not only formulas, nothing.

--------

Verzió: 6.4.1.2 (x64)
Build az.: 4d224e95b98b138af42a64d84056446d09082932
CPU szálak: 12; OS: Windows 10.0 Build 18363; Felületmegjelenítés: alapértelmezett; VCL: win; 
Területi beállítások: hu-HU (hu_HU); Felület nyelve: hu-HU
Calc: threaded
Comment 11 QA Administrators 2022-03-14 03:34:37 UTC Comment hidden (obsolete)
Comment 12 QA Administrators 2024-03-14 03:16:15 UTC
Dear Yogurt,

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