Shared formulas incorrectly parsed. #1388
Labels
No Label
DBF
Dates
Defined Names
Features
Formula
HTML
Images
Infrastructure
Integration
International
ODS
Operations
Performance
PivotTables
Pro
Protection
Read Bug
SSF
SYLK
Style
Write Bug
good first issue
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#1388
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Not really sure what is going on here, but something seems wacky with shared formulas. I hope these steps reproduce the issues.
Steps to reproduce:
Open blank workbook.
Enter =A1 into cell B1.
Drag fill B1 down to B10.
Select B1:B5 and clear contents.
Parse workbook.
Expected:
Received:
The second argument to
shift_formula_xlsx
needs to be the original formula'stag.r
not itsftag.ref
and it needs to usedecode_cell
notdecode_range
. Something like this:According,
https://github.com/SheetJS/js-xlsx/blob/0c36667c0c1c50cabec680387d06df4245ec6876/bits/67_wsxml.js#L346
this line needs to be changed to something like:and
https://github.com/SheetJS/js-xlsx/blob/0c36667c0c1c50cabec680387d06df4245ec6876/bits/67_wsxml.js#L350
to something like:Our Pro version has a slightly different diff but has the same effect:
We've been slow on the update to the open source build but will try to roll out a patch with it and more formula-related fixes soon
Thanks!