? Success

User tests: Successful: Unsuccessful:

avatar demis-palma
demis-palma
15 Apr 2014

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.

avatar demis-palma demis-palma - open - 15 Apr 2014
avatar zero-24
zero-24 - comment - 15 Apr 2014

Hi @demis-palma confirm issue and fix

Good catch!

avatar zero-24
zero-24 - comment - 15 Apr 2014

@demis-palma can you send the same against the 2.5.x branche and link at the Tracker?
Thanks

avatar zero-24 zero-24 - reference | facffb8 - 16 Apr 14
avatar infograf768 infograf768 - change - 16 Apr 2014
Status New Closed
Closed_Date 0000-00-00 00:00:00 2014-04-16 10:36:18
Labels Added: ? ?
avatar infograf768 infograf768 - close - 16 Apr 2014
avatar infograf768 infograf768 - reference | 60ba9d4 - 16 Apr 14
avatar infograf768 infograf768 - merge - 16 Apr 2014
avatar infograf768 infograf768 - close - 16 Apr 2014
avatar infograf768 infograf768 - reference | 3449bdf - 16 Apr 14
avatar Bakual Bakual - reference | 04528ce - 12 May 14
avatar demis-palma demis-palma - change - 3 Jun 2017
The description was changed
avatar demis-palma demis-palma - edited - 3 Jun 2017
avatar demis-palma demis-palma - change - 3 Jun 2017
The description was changed
avatar demis-palma demis-palma - edited - 3 Jun 2017
avatar joomla-cms-bot joomla-cms-bot - change - 3 Jun 2017
Category Libraries
avatar demis-palma demis-palma - change - 3 Jun 2017
The description was changed
avatar demis-palma demis-palma - edited - 3 Jun 2017
avatar demis-palma demis-palma - change - 3 Jun 2017
The description was changed
avatar demis-palma demis-palma - edited - 3 Jun 2017

Add a Comment

Login with GitHub to post a comment