handsontable / handsontable/hyperformula
[Bug]: Error occurs if the formula contains a reference to a range that contains a reference to a range
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.8k
- Forks
- 171
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 7
Description
Description
Error occurs if the formula contains a reference to a range that contains a reference to a range
Error: Value of the formula cell is not computed.
// expected result in all cases: 1
const HyperFormula = require('hyperformula');
const options = {
licenseKey: 'gpl-v3',
};
let hf = HyperFormula.HyperFormula.buildFromArray(
[
[
1,
// '=A1+0', // Success
'=A:A+0', // BUG: Error: Value of the formula cell is not computed.
'={B:B}',
],
],
options
);
Video or screenshots
No response
Demo
https://stackblitz.com/edit/stackblitz-starters-ovw2zlhv?file=index.js
HyperFormula version
2.7.1 , 3.0.0 (develop)
Your framework
No response
Your environment
node v22.10.0 , v18.20.3
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the buildFromArray entry point and reproduce the issue using the StackBlitz demo or the provided Node.js example. Compare the A1 reference case with the A:A and {B:B} cases; done means all formulas return 1 without the “Value of the formula cell is not computed” error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100