Repository navigation
fix(named-expressions): mark named expressions as dirty before re-computation - #1504
Conversation
…1480 and handsontable#1481 (handsontable#1487) * Fix registerLanguage() issue in the code examples (handsontable#1484) Make code examples check for registered languages before registering new ones * Fix mortgage calculator demo error `Cannot load native addon because loading addons is disabled` (handsontable#1486) Migrate mortgage-calculator demo in readme from Codestandbox to Stackblitz
|
Thank you for sharing the pull request @Esmail-Rahmani I will inform the rest of the team. |
|
@sequba Could you please provide an update on the progress of this task? As mentioned previously, this is a critical change for our application. |
|
@AbdulQaharRahmani We're sorry, but our capacity is currently reduced due to the holiday period. This task is scheduled for the next sprint, so we expect to give you feedback on this PR within the next two weeks. |
|
@AbdulQaharRahmani I am really sorry, we had a hectic time releasing Handsontable 16.0. I will be looking at your PR this week. |
|
@AbdulQaharRahmani, I'd prefer a different approach to fixing this issue. I'm merging your PR into a temporary branch, on which I'll adjust the solution. This change will be released with the upcoming version of HyperFormula, which is scheduled for the first half of August. Thank you very much for your contribution. I'm sorry you had to wait so long for the feedback. |
… were not updated on changes (#1521) * Add unit tests for the issue * fix(named-expressions): mark named expressions as dirty before re-computation (#1504) * Add changelog entry * Add unit tests for named expressions created on initialization * Change order of operations on engine initialization to make initial named expression array work correctly --------- Co-authored-by: Esmail Rahmani <60963312+Esmail-Rahmani@users.noreply.github.com>
|
Just to make a small note here for other who would like to follow the thread. We fixed the issue and updated the main thread at #1501 |
… were not updated on changes (handsontable#1521) * Add unit tests for the issue * fix(named-expressions): mark named expressions as dirty before re-computation (handsontable#1504) * Add changelog entry * Add unit tests for named expressions created on initialization * Change order of operations on engine initialization to make initial named expression array work correctly --------- Co-authored-by: Esmail Rahmani <60963312+Esmail-Rahmani@users.noreply.github.com>
Context
It fixes an issue where named expressions were not marked as dirty after clearing dirty nodes in
setCellContents, causing dependent formulas not to update correctly on subsequent value changes.The fix ensures that all active named expressions are safely re-marked as dirty before recomputation in the
recomputeIfDependencyGraphNeedsItfunction.How did you test your changes?
Manually tested by:
Ran the existing unit tests to ensure no regressions were introduced.
Types of changes
Related issues:
Checklist: