Page MenuHomePhabricator

Phabricator "Duplicate entry" error when moving tasks between workboard columns
Closed, DuplicatePublic

Description

I reproducibly get an error when attempting to move task 149626 from the "Apr-Jun" column, to the "Backlog" column, in https://phabricator.wikimedia.org/project/view/27/

#1062: Duplicate entry 'PHID-PROJ-w2oxxqq7xappt53glrsm-PHID-PCOL-qjdmfzuo6mkde6myazi7-PH' for key 'boardPHID'

I've checked the workboard with "all tasks" showing, and there are no other tasks with that task-number or title in the backlog column.
I have not yet attempted to change the column via the task's own dropdown menus. (So as to enable reproduction of this bug).

Screenshot at 2017-06-30 09-26-13.png (883×1 px, 170 KB)

Event Timeline

@Quiddity: Thanks for the reproduction case but I think it's just a data corruption problem - the projects and workboard columns are updated in a not entirely atomic way and this kind of thing can happen occasionally. I see where the problem is in the code so I can reproduce it locally, though I don't know how to reproduce the situation that caused the data corruption in the first place.

I moved the task using 'change project tags' in the comment form. It should no longer be a problem.

Thanks x2. I'll resolve this.