Around 5% of edits to a task from the project's workboard will just leave the screen greyed out, instead of showing the workboard again. I am not sure what causes this.
Reproduction steps:
- Navigate to a large workboard in a project.
- Click the "pencil" icon on a task to go into quick edit mode.
- Update the "points" or "priority" field.
- Press save.
Occasionally, the unexpected result is:
- Greyed out screen, and JS error in the console.
Chrome gets the stacktrace as:
core.pkg.js:193 Uncaught TypeError: Cannot read property 'setNaturalOrder' of undefined updateCard @ WorkboardBoard.js:formatted:148 _onload @ core.pkg.js:431 (anonymous function) @ core.pkg.js:69 pass @ core.pkg.js:152 _dispatchProxy @ core.pkg.js:147 invoke @ core.pkg.js:90 proto.invoke @ core.pkg.js:67 _done @ core.pkg.js:231 (anonymous function) @ core.pkg.js:235 _complete @ core.pkg.js:193
The lines in question are:
var column_maps = response.columnMaps; for (var natural_phid in column_maps) { this.getColumn(natural_phid).setNaturalOrder(column_maps[natural_phid]); }
The (private, sorry!) board has just over a hundred tasks, many of which are also on in other projects. Six columns, one empty. It seems to be more likely to fail on the fuller columns. Points are in use. Updates mostly to triage or add points to tickets, maybe occasionally editing the description or title.
Version: Stable branch: 2016 Week 32:
phabricator 435f756414e692ad02204bf6cb8f185042cec344 (Sat, Aug 6)
arcanist c9337c2ade7c76edc98d27c216ab97fc1e40d01c (Sat, Aug 6)
phutil 8f8e02d47569dce5f035383d8bcbf7a08481e839 (Sat, Aug 6)