Give the gift of Drupal. All merchandise is 50% off through 2016.
I've done quite a bit of research and trial and error configuration on this, but I can't figure it out and I can't shake the feeling that I must be missing something.
I'm trying to set the default (and only available) value of an entityreference field to the logged in user creating the node. I've set up an entity reference list views with a contextual filter of user: uid that provides the default of the currently logged in user and set that to be the view used by the entityreference field. I've made the field required and when new content is created, I get a select list with that one user in the list, but the actual value is set to 'select a value' rather than the single user that appears in the select list.
Surely this has to be a common use case and I must have missed something somewhere. Back in the userreference days I used php and global $user, but php is no longer an option for default values (even with cck for d7 installed).
what am I missing?