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 }}
This repository has been archived by the owner on Jan 2, 2019. It is now read-only.
Please see commit GerHobbelt@7d6f6e0 for an example of this bug: that commit edits the 03formulas.php example file that comes with PHPExcel to reproduce the error: the sum cell (B5=B2+B3+B4, all moved down one row by the InsertNewRowBefore() in the patched example) should read after the insert-row: B6=B3+B4+B5. However the actual result is B6=B5+B5+B5.
We have not investigated why the insertRow operation has this incorrect effect on the formula rewrite process.
Tested with my patched 03formulas.php: that example now works okay. Looking good.
Going to test it on our (@gibito + @GerHobbelt) application code next...
Repro:
Fill, for instance, cells A1,B2,C1,C2,C4 with arbitrary values
Set C3=A1_B2_C1_C2_C4
Call insertNewRowBefore(1,1) and observe that the formula is corrupted: =A2_B3_C3_C3_C5
The text was updated successfully, but these errors were encountered: