Fix: Issue #1936 CalcCellValue silently fails when formula is =OTHER_FORMULA#1962
Fix: Issue #1936 CalcCellValue silently fails when formula is =OTHER_FORMULA#1962abdelaziz-ouhammou wants to merge 1 commit intoqax-os:masterfrom
Conversation
…OTHER_CELL and OTHER_CELL has a formula evaluation error bug
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1962 +/- ##
=======================================
Coverage 99.31% 99.31%
=======================================
Files 32 32
Lines 24981 24983 +2
=======================================
+ Hits 24809 24811 +2
Misses 92 92
Partials 80 80
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
What is missing for this to be merged? |
There was a problem hiding this comment.
Thanks for your contribution, sorry for my late reply. This fix can be mitigated for the issue, but can not resolve the root cause of this issue. I think we need to let the parseToken function return value to formulaArg data type, the error context was missing caused by calcAdd, calcG, calcGe series function return value data type conversion.
In addition, I don't suggest add more test workbook files, generate the workbook by unit tests code would be better.
Fix: Issue #1936 CalcCellValue silently fails when formula is =OTHER_FORMULA
PR Details
Return Error if it doesn't have "#N/A"
Related Issue
CalcCellValue silently fails when formula is =OTHER_CELL and OTHER_CELL has a formula evaluation error #1936
How Has This Been Tested
I added a unit test for the changes.
Types of changes
Checklist