handsontable / handsontable/hyperformula

Absence of error type: #NULL

Open
#138 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature ODFF Conformance ODFF MGE Verified
Dominant language
TypeScript
Stars
2.8k
Forks
171
Avg merge
1d 22h
Merged PRs (30d)
7

Description

Description

Based on the requirements we should support error type #Null.

Steps to reproduce

src/Cell.ts

/**
 * Possible errors returned by our interpreter.
 */
export enum ErrorType {
  /** Division by zero. */
  DIV_BY_ZERO = 'DIV_BY_ZERO',
  /** Unknown function name. */
  NAME = 'NAME',
  VALUE = 'VALUE',
  NUM = 'NUM',
  NA = 'NA',
  /** Cyclic dependency. */
  CYCLE = 'CYCLE',
  /* Wrong address reference. */
  REF = 'REF',
}

Screenshot 2020-01-30 at 15 34 57

Links

https://www.oasis-open.org/committees/download.php/16826/openformula-spec-20060221.html#Error

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in src/Cell.ts by reading ErrorType and then search for where its values are produced or handled. Compare the expected #Null behavior with the linked OpenFormula specification; done means the interpreter supports #Null consistently and the relevant existing tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.