Skip to content

[8.0.0+] value population from an edited cell results in a console error a population does not execute - use of CMD + ENTER #7382

@AMBudnik

Description

@AMBudnik

Description

Once we select a header and try to populate values from an edited cell we get a console error a population does not execute.

Steps to reproduce

  1. Select any header
  2. Type 'www'
  3. Use CMD + ENTER

Result 7.4.2 and lower
Value is populated vertically. There's no error in the console.

Result for 8.0.0. and newer
Value is not populated. We get a console error.

Uncaught Error: Assertion failed: Expecting an unsigned number.
    at assert (handsontable.full.js:20470)
    at LazyFactoryMap.obtain (handsontable.full.js:61270)
    at CellMeta.getMeta (handsontable.full.js:80928)
    at MetaManager.getCellMeta (handsontable.full.js:80235)
    at Core.getCellMeta (handsontable.full.js:55404)
    at Object.populateFromArray (handsontable.full.js:53392)
    at Core.populateFromArray (handsontable.full.js:54066)
    at TextEditor.saveValue (handsontable.full.js:18640)
    at TextEditor.finishEditing (handsontable.full.js:18735)
    at EditorManager.closeEditor (handsontable.full.js:73844)

Demo

http://jsfiddle.net/8xtnyar6/2/ - 7.4.2 - works well
http://jsfiddle.net/8xtnyar6/3/ - 8.0.0 - broken

cmd_enter_bug

Your environment

  • Handsontable version: 8.0.0+
  • Browser Name and version: Chrome 86
  • Operating System: macOS Catalina 10.15.7

Inform zen 25669

Metadata

Metadata

Assignees

Labels

RegressionIssues that were created while adding new changes to the source codeStatus: Releasedbug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions