[Bug]: Error occurs if the formula contains a reference to a range that contains a reference to a range

オープン
#1,479 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
typescript
領域
backend

調査の方向性

buildFromArrayエントリポイントから始め、StackBlitzデモまたは提供されているNode.jsの例を使って問題を再現します。A1のリファレンスケースとA:Aおよび{B:B}のケースを比較します。すべての数式が「Value of the formula cell is not computed」エラーなしで1を返せば完了です。

索引モデルが issue の本文から書いたものです。

説明

Bug Impact: Low
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

主要言語
TypeScript
スター
2.8k
フォーク
175
平均マージ
2日 5時間
マージ済み PR(30日)
23

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

handsontable/hyperformula のほかの issue

handsontable/hyperformula の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。