User tests: Successful: Unsuccessful:
User selector displays "Select a User" when you explicitly clear the selection by pressing the button "- No User -", but it is blank by default.
How 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.
Hi @demis-palma confirm issue and fix
Good catch!
@demis-palma can you send the same against the 2.5.x branche and link at the Tracker?
Thanks
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2014-04-16 10:36:18 |
Labels |
Added:
?
?
|
Category | ⇒ | Libraries |
Tracker:
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=33619&start=0