? ? Pending

User tests: Successful: Unsuccessful:

avatar zero-24
zero-24
13 Feb 2017

Pull Request for Issue #13306

Summary of Changes

  • Use $ismoo instend of calling jinput
  • a bit CS

Testing Instructions

  1. Open an administrator form that has a User form field on it (i.e. User Notes)
  2. Type a user name or keyword into the search box and submit
  3. Click one of the resulting users; the dialog is dismissed

Expected result

The user selected in the pop-up should populate the user form field.

Actual result

In 3.6.5 it is broken as the $ismoo value is missing.
In 3.7-dev it is working but don't uses the $ismoo it gets the value from the jinput object

Documentation Changes Required

None

avatar zero-24 zero-24 - open - 13 Feb 2017
avatar zero-24 zero-24 - change - 13 Feb 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 13 Feb 2017
Category Administration com_users
avatar joomdonation
joomdonation - comment - 13 Feb 2017

I have tested this item successfully on abccdaf


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/14047.

avatar joomdonation joomdonation - test_item - 13 Feb 2017 - Tested successfully
avatar joomdonation
joomdonation - comment - 13 Feb 2017

Since you made this change, could you please this line https://github.com/joomla/joomla-cms/blob/staging/administrator/components/com_users/views/users/tmpl/modal.php#L23 to

$input           = JFactory::getApplication()->input;

and remove the line above https://github.com/joomla/joomla-cms/blob/staging/administrator/components/com_users/views/users/tmpl/modal.php#L22

(The $app variable is used one time only, thus it should be removed)

avatar zero-24 zero-24 - change - 13 Feb 2017
Labels Added: ?
avatar zero-24
zero-24 - comment - 13 Feb 2017

Done thanks @joomdonation

avatar joomdonation
joomdonation - comment - 13 Feb 2017

I have tested this item successfully on 29dab64


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/14047.

avatar joomdonation joomdonation - test_item - 13 Feb 2017 - Tested successfully
avatar dgt41
dgt41 - comment - 13 Feb 2017

I have tested this item successfully on 29dab64


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/14047.

avatar dgt41 dgt41 - test_item - 13 Feb 2017 - Tested successfully
avatar dgt41 dgt41 - change - 13 Feb 2017
Status Pending Ready to Commit
avatar dgt41
dgt41 - comment - 13 Feb 2017

RTC

avatar wilsonge wilsonge - change - 13 Feb 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-02-13 23:38:26
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 13 Feb 2017
avatar wilsonge wilsonge - merge - 13 Feb 2017

Add a Comment

Login with GitHub to post a comment