From what I searched I couldn't fine anything addressing this issue. When a content editor (whether with or without permission to view unpublished content) is creating or editing a node with a nodereference field, he can see on the list (I used the autocomplete widget) also unpublished nodes.

For me this is wrong and the patch I've attached adds (Not published) to the title of the node so the editor is warned about the status of the node.

I believe this needs further looking into regarding other widgets and maybe better code.

CommentFileSizeAuthor
nodereference.module.patch1.56 KBami7878
Support from Acquia helps fund testing for Drupal Acquia logo