You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Removing Sheet Errors With Vertex for address missing in AddressMapping #1121
Running into a bug where when removing a sheet, it runs into a self-circular dependency bug trying to delete cell values that reference itself. Workaround has been to clear sheet before removing.
@BrianHung, thank you for reporting this bug. Please, check the demo. It does not demonstrate the described issue (there is no removeSheet call). You might have posted the wrong link by mistake.
importHyperFormulafrom"hyperformula";// Create an empty HyperFormula instance.consthf=HyperFormula.buildEmpty({precisionRounding: 10,licenseKey: "gpl-v3"});// Add a new sheet and get its id.consttable1=hf.addSheet("table1");constsheet1=hf.getSheetId(table1);// Fill the HyperFormula sheet with data.hf.setCellContents({row: 0,col: 0,sheet: sheet1},[["1/5/22","4/13/22","=B1-A1"]]);console.log(sheet1);// hf.clearSheet(sheet1);hf.removeSheet(sheet1);
changed the title [-]Removing Sheet With Custom Date Parser Errors With Vertex for address missing in AddressMapping[/-][+]Removing Sheet Errors With Vertex for address missing in AddressMapping[/+]on Dec 15, 2022
I'm more than happy to announce that we just released HyperFormula 2.3.1 where this issue is fixed. We are closing this issue as solved. If there is anything that won't work for you after updating, please leave a comment.
Activity
sequba commentedon Dec 15, 2022
@BrianHung, thank you for reporting this bug. Please, check the demo. It does not demonstrate the described issue (there is no
removeSheetcall). You might have posted the wrong link by mistake.BrianHung commentedon Dec 15, 2022
Oops, it must've not saved: https://codesandbox.io/s/billowing-monad-obgxg9?file=/src/hyperformulaConfig.js
@sequba
[-]Removing Sheet With Custom Date Parser Errors With Vertex for address missing in AddressMapping[/-][+]Removing Sheet Errors With Vertex for address missing in AddressMapping[/+]sequba commentedon Dec 21, 2022
@BrianHung thanks for the demo. It is a bug, and it will be fixed in one of the upcoming releases.
Temporary workaround: Call
clearSheet()beforeremoveSheet():Might be related to #855
sequba commentedon Mar 3, 2023
@BrianHung ,
I'm more than happy to announce that we just released HyperFormula 2.3.1 where this issue is fixed. We are closing this issue as solved. If there is anything that won't work for you after updating, please leave a comment.