Page MenuHomePhabricator

[Regression pre-wmf.2] Uncaught TypeError: selection.containsCell is not a function appears when clicking on a cell after a delete row/column operation
Closed, ResolvedPublic

Description

Steps to replicate:

  1. Select a table cell
  2. Delete that row or column
  3. Now click on any cell

There is an error in the console:
Uncaught TypeError: selection.containsCell is not a function

Event Timeline

Change 506560 had a related patch set uploaded (by Esanders; owner: Esanders):
[VisualEditor/VisualEditor@master] Check selection is a TableSelection before looking for cells

https://gerrit.wikimedia.org/r/506560

Change 506560 merged by jenkins-bot:
[VisualEditor/VisualEditor@master] Check selection is a TableSelection before looking for cells

https://gerrit.wikimedia.org/r/506560

Change 506852 had a related patch set uploaded (by Jforrester; owner: Jforrester):
[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (b68520b6d)

https://gerrit.wikimedia.org/r/506852

Change 506852 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (b68520b6d)

https://gerrit.wikimedia.org/r/506852