Bug 40626 - Err:522 when chaining multiple.operations
Summary: Err:522 when chaining multiple.operations
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
(earliest affected)
3.3.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Cell-Formula
  Show dependency treegraph
Reported: 2011-09-04 13:33 UTC by abo
Modified: 2022-02-08 12:19 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:
Regression By:

demo of the bug (9.78 KB, application/vnd.oasis.opendocument.spreadsheet)
2011-09-04 13:33 UTC, abo

Note You need to log in before you can comment on or make changes to this bug.
Description abo 2011-09-04 13:33:06 UTC
Created attachment 50901 [details]
demo of the bug

If two multiple operations (german "Mehrfachoperation") are using the same 
formular and the output of the first multiple operation is the input for the 
second strange behavior can happen. Pressing F9 in order to force a 
recalculation toggles the result of the first multiple operation between 
"err:522" and the correct value. The second multiple operation always stays at 
"err:522" which is not correct, because no circular exists.

Only tested on Pc in Windows XP and 7, but I guess it affects all platforms.
Comment 1 sasha.libreoffice 2012-04-12 02:43:46 UTC
Reproduced with attachment and with own formulas on 3.3.4 and 3.5.2 on Fedora 64 bit. Used Data->Multiple operations for additional experiments.
Calc allows using result of one Multiple operation in another Multiple operation. 
But not allows that formulas use the same cells.

Workaround: copy-paste contents of cells, used in formula in another place. Than create formula for them. Then use Data->Multiple operations, selecting results of previous Multiple operation, but new formula.

Changing version to 3.3.4 as most early reproducible
Comment 2 QA Administrators 2015-01-05 17:52:01 UTC Comment hidden (obsolete)
Comment 3 Buovjaga 2015-01-27 17:54:00 UTC
Confirmed with attachment 50901 [details].

Win 7 Pro 64-bit Version:
Build ID: 784d069cc1d9f1d6e6a4e543a278376ab483d1eb
TinderBox: Win-x86@62-TDF, Branch:MASTER, Time: 2015-01-25_23:07:36
Comment 4 QA Administrators 2016-02-21 08:36:50 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2017-03-06 15:38:57 UTC Comment hidden (obsolete)
Comment 6 Thomas Lendo 2018-10-09 07:43:59 UTC
Still reproducible.

Version: (x64)
Build ID: e46f8a9a4e3c5b0542c0813b476b449f3af8d607
CPU threads: 8; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-10-07_23:36:50
Locale: de-AT (de_AT); Calc: CL
Comment 7 QA Administrators 2019-10-10 02:39:47 UTC Comment hidden (obsolete)
Comment 8 xyhausen 2020-03-28 20:08:22 UTC
Still reproducible using the attachment.

Version: (x64)
Build-ID: 4e471d8c02c9c90f512f7f9ead8875b57fcb1ec3
CPU-Threads: 2; BS: Windows 10.0 Build 18362; UI-Render: Standard; VCL: win; 
Gebietsschema: en-GB (de_DE); UI-Sprache: de-DE
Comment 9 stragu 2021-08-14 14:16:20 UTC
Reproduced in:

Version: / LibreOffice Community
Build ID: 2a7ea282da28d665a7dc086360567b4aea27bf08
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded


Version: / LibreOffice Community
Build ID: adf65471e889676a600a9c6d0454c75cbd549ad3
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-08-13_04:44:18
Calc: threaded