joomla/joomla-cms — pull request #3454 by demis-palma (2014-04-15 17:57:39+00:00)
Title: User selector is blank by default

User selector displays "Select a User" when you explicitly clear the selection by pressing the button "- No User -", but it is blank by default.

Hot to reproduce the problem: Go to USer > User Notes and create a new note. The User ID field is blank. Click on the blue button in order to select an user. Once arrived on the users list click on "No USer" button. The users list disappears, but this time the USer ID field contains the text "Select a User".

Source file: libraries/cms/form/field/user.php
Since JText::_('JLIB_FORM_SELECT_USER') is not a valid username, it's clear that the original code wanted to assign JText::_('JLIB_FORM_SELECT_USER') to $table->name instead of $table->username.