Issue #2887866 by achap, Berdir, rodrigoaguilera, nplowman: "Integrity constraint violation: 1062 Duplicate entry" error when updating a node