Posted 12 December 2019, 9:59 am EST
Good morning,
we are migrating a product we have develop from spreadjs version 11 to version 12 and we found that one specific scenario is not working correctly for us in v12 but was working ok in v11.
Scenario for reproducing the error is as follows:
- Define 2 worksheets in a spread, Sheet1 and Sheet2
- Define a custom name “customName1” in Sheet2 for a cell “B2”
- Set a formula in Sheet1 that refers to “customName1”
- Call suspendCalcService for the entire spread.
- Remove Sheet2.
- Call resumeCalcService and a JS error will occur.
Side note: notice that in v12 the “customName1” expression is evaluated as “=#REF!” and in v11 is “=Sheet2!$B$2”.
I have created some example with the instructions in the attached .zip file for both versions and as I said v11 is working fine but v12 crashes. Can you please take a look and let me know if there’s anything I’m doing wrong or if it’s a bug in spreadjs12?
Also I’d like to know if there could be a workaround for that.
Thanks,
Fernandospreadjs issue.zip
