? ? Pending

User tests: Successful: Unsuccessful:

avatar joomdonation
joomdonation
20 Jan 2017

Pull Request for Issue #13653.

Summary of Changes

This PR prevents add/edit an account without selecting a user groups in the backend of your site. It also fixes a notice Undefined index: groups... when administrator update his own account from backend

Testing Instructions

Test case 1: Login to administrator are of your site using super admin account, try to add/edit an user

  1. Before patch, you can add/edit an account without selecting a user group
  2. After patch, if you try to add/edit an account without selecting at least one user groups, error will be thrown and account won't be saved

Test case 2: Login to administrator area of your site using an administrator account, edit your account, make sure it is saved properly

Documentation Changes Required

None

avatar joomdonation joomdonation - open - 20 Jan 2017
avatar joomdonation joomdonation - change - 20 Jan 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 20 Jan 2017
Category Administration com_users Language & Strings
avatar joomdonation joomdonation - change - 20 Jan 2017
Title
Patch 12
Fix save user without selecting user groups
avatar joomdonation joomdonation - edited - 20 Jan 2017
avatar joomdonation joomdonation - change - 20 Jan 2017
Labels Added: ? ?
avatar renekreijveld
renekreijveld - comment - 20 Jan 2017

I have tested this item successfully on e68775f

Tested on Joomla 3.7.0-beta1, works perfect!


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

avatar renekreijveld renekreijveld - test_item - 20 Jan 2017 - Tested successfully
avatar joomdonation joomdonation - change - 20 Jan 2017
The description was changed
avatar joomdonation joomdonation - edited - 20 Jan 2017
avatar genesisfan
genesisfan - comment - 20 Jan 2017

I have tested this item successfully on e68775f

Tested on Joomla 3.7.0-beta1 and works perfect!


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

avatar genesisfan genesisfan - test_item - 20 Jan 2017 - Tested successfully
avatar joomdonation
joomdonation - comment - 20 Jan 2017

Thanks @renekreijveld and @genesisfan for testing the PR.

avatar wilsonge
wilsonge - comment - 20 Jan 2017

Administrators can't edit their own groups only super admins can modify their own groups? da79cb0

avatar joomdonation
joomdonation - comment - 20 Jan 2017

@wilsonge Yes, that's what I see from the code. Right now, when you login using an administrator account, there is no option to allow changing your own groups. Only super admin can do that

avatar joomdonation
joomdonation - comment - 21 Jan 2017

I just updated code to remove an unnecessary nested if, no need for testing it again.

avatar joomdonation
joomdonation - comment - 22 Jan 2017

This PR had two successful tests. Could someone please add RTC label ?

avatar tonypartridge
tonypartridge - comment - 4 Feb 2017

@joomdonation can I be picky and can you please add a full stop to the end of your new language string as per the others above.

avatar joomdonation
joomdonation - comment - 4 Feb 2017

Yes, done. Thanks @tonypartridge

avatar joomdonation joomdonation - change - 21 Feb 2017
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2017-02-21 00:26:46
Closed_By joomdonation
avatar joomdonation joomdonation - close - 21 Feb 2017
avatar joomdonation joomdonation - change - 21 Feb 2017
Status Closed New
Closed_Date 2017-02-21 00:26:46
Closed_By joomdonation
avatar joomdonation joomdonation - change - 21 Feb 2017
Status New Pending
avatar joomdonation joomdonation - reopen - 21 Feb 2017
avatar wilsonge wilsonge - change - 21 Feb 2017
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-02-21 10:17:01
Closed_By wilsonge
avatar wilsonge wilsonge - close - 21 Feb 2017
avatar wilsonge wilsonge - merge - 21 Feb 2017

Add a Comment

Login with GitHub to post a comment