Somewhat related: #589714: Nodereference filtering: invalid reference should be same as no reference.

When I delete a user from my site, any existing user references are not removed. This means when someone goes and edits a node with a now-nonexistent user reference, a confusing error is displayed on the node form, and the user must manually go in and remove the [uid:XX] value from the autocomplete field...

Since I have the user reference field hidden using fapi's '#access' => FALSE) from some admins, this makes it so those admins are unable to even save the form.

Comments

fgm’s picture

Status: Active » Closed (duplicate)

As you noticed, the cause for this duplicates #589714: Nodereference filtering: invalid reference should be same as no reference, so closing. But you should mention this particular side-effect in the original issue, as it provides one more reason to remove invalid references.