Description: UNDO NOT working correctly if a sheet with a referenced cells is deleted. Steps to Reproduce: on Macbook AIR M1 1.delete sheet 1 in the sample file - sheet 2 shows the cell with #REF! 2. click undo - sheet 1 is displayed 3 goto sheet 2 - still shows the cell with #REF! UNDO not Working correctly Actual Results: the reference is not restored #REF! remains in the cell Expected Results: restore the formula in the #REF! cell as it does for #REF! in the same sheet Reproducible: Always User Profile Reset: No Additional Info: same error is reproducible in 1. collabora on Macbook air M1 COOLWSD version: 25.04.8.1 git hash: 57401feb64 LOKit version: built on a great technology base Collabora Office 25.04.9.0 git hash: a5f1e0aab3 2. CODE - on Hetzner server COOLWSD version: 25.04.8.1 (git hash: 278cb3481b(E)) LOKit version: built on agreat technology base Collabora Office 25.04.8.1 (git hash: 489cb5d73b)
Created attachment 205300 [details] sample with 2 sheets used to test the UNDO of delete sheet
The example file doesn't contain a working reference in sheet2. So it can't be broken by undo. But yes a proper reference will break at undo. Reported before in bug 132455
(In reply to Telesto from comment #2) > The example file doesn't contain a working reference in sheet2. So it can't > be broken by undo. But yes a proper reference will break at undo. Reported > before in bug 132455 please prepare a similar one for yourself I get this problem with every new file with all libreoffice, collabora and code
Created attachment 205301 [details] very simple sample file look at sheet 2 - A1 references Sheet 1 A1 delete sheet 1 Undo sheet 2 shows error
(In reply to Ferdinand from comment #4) > Created attachment 205301 [details] > very simple sample file > > look at sheet 2 - A1 references Sheet 1 A1 > delete sheet 1 > Undo > sheet 2 shows error I can confirm the problem exists.. It's probably the same issue as in bug 132455
(In reply to Telesto from comment #5) > (In reply to Ferdinand from comment #4) > > Created attachment 205301 [details] > > very simple sample file > > > > look at sheet 2 - A1 references Sheet 1 A1 > > delete sheet 1 > > Undo > > sheet 2 shows error > > I can confirm the problem exists.. It's probably the same issue as in bug > 132455 yes