Description: REF error after undo sheet deletion. Hard recalculate doens't fix it Steps to Reproduce: 1. Open attachment 154545 [details] 2. Remove FiltrageVent 3. CTRL+Z -> Wait a long time 4. Notice sheet Comparison showing REF error Actual Results: REF-error Expected Results: No ref-error Reproducible: Always User Profile Reset: No Additional Info: Found in Version: 7.0.0.0.alpha0+ (x64) Build ID: f924658e45f256544e43c3fdb2af9b585d0f0933 CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win; Locale: nl-NL (nl_NL); UI-Language: en-US Calc: threaded and in 4.4.7.2 not in 3.5.7.2
Hi Telesto, Would it be possible to get a reduced reproducer ?
(In reply to Xisco Faulí from comment #1) > Hi Telesto, > Would it be possible to get a reduced reproducer ? Setting to NEEDINO
Nope, sheet is locked with a password
repro with: Version: 7.1.0.0.alpha0+ (x64) Build ID: a201ab6f47c2d5a7ba4c5f998b0aa231cae82010 CPU threads: 8; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-US Calc: CL small reproducer with simple formula with 'constructed indirect' to other sheet fails - to fail- will try complex formulas later ...
Dear Telesto, 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
I confirm, still an issue in: Version: 24.2.0.3 (X86_64) / LibreOffice Community Build ID: da48488a73ddd66ea24cf16bbc4f7b9c08e9bea1 CPU threads: 8; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded Followed comment 0 exactly. - - - - - For example, in "Comparisons" sheet... Cell F2: On load: - =$FiltrageVent.$O2 After Step 2: - =#REF!.$O2 and Step 3 (undoing the sheet delete), it still stays stuck as: - =#REF!.$O2 Once they turn into #REF (at least on sheet deletion), seems like they never go back. - - - And like Xisco wrote in comment 1: - Probably would be a good idea to get a better minimal example too. :) I'll attach a very simple one.
Created attachment 192552 [details] Sheet2 with text from Sheet1 0. Open attached ODS file. All it is: Sheet1: A1: "TextfromSheet1" Sheet2: A1: "Here is:" Sheet2: B1: =$Sheet1.A1 - - - 1. Delete Sheet1. 2. Edit > Undo (Ctrl+Z) 3. Go back to Sheet2. - - - In Sheet2, Cell B1... For values, you'll see: Step 0: "TextfromSheet1" Step 1: #REF! Step 2: #REF! For formulas, you'll see: Step 0: =$Sheet1.A1 Step 1: =$#REF!.A1 Step 2: =$#REF!.A1 After Step 2, there is no amount of Undos you can do to return to the original state.
Testing in Excel 365 (2401, Build 17231.20194), it just gave a warning: > "Microsoft Excel will permanently delete this sheet. Do you want to continue?" After deleting the sheet, pressing Ctrl+Z to undo did nothing, and Sheet2's formula was stuck as: - =#REF!A1 - - - So, if this is too complicated to toss onto the undo stack, perhaps a warning could work too. "Hey! You have formulas pointing to this sheet. Are you SURE you want to Delete?"