? Success

User tests: Successful: Unsuccessful:

avatar colivier
colivier
27 Nov 2014

When a user changes his profile, the groups data is lost because before saving the new data, the groups property is set to null.

I propose to save the groups property before saving and restore it after.

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
5.00

avatar colivier colivier - open - 27 Nov 2014
avatar jissues-bot jissues-bot - change - 27 Nov 2014
Labels Added: ?
avatar brianteeman
brianteeman - comment - 27 Nov 2014

I am unable to confirm this.

What release of joomla are you using? What extensions do you have installed?

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

avatar brianteeman brianteeman - change - 27 Nov 2014
Status Pending Information Required
avatar colivier
colivier - comment - 27 Nov 2014

Hi Brian,
I use the latest version of Joomla (3.3.6) and I think that the problem is from the core of Joomla (profile.php in models of com_users), not from an extension

avatar waader
waader - comment - 27 Nov 2014

I work with the lastest staging branch and can also not reproduce this behaviour.

avatar dcarreno
dcarreno - comment - 4 Dec 2014

I have the same problem (joomla 3.3.6 version), i had install jomsocial. but them said that is a issue from joomla core. Please help me i lost the super user group permission.

viewed the answer from jomsocial:
**
Yes, it's Joomla! issue. Users lost assignment to groups.
We reported this issue and fix is on the way.**

http://www.jomsocial.com/forum/technical-issues/22018-the-user-admin-and-registered-lost-credentials-at-any-time-assigned-user

all component are licenced



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

avatar dcarreno dcarreno - test_item - 4 Dec 2014 - Not tested
avatar brianteeman
brianteeman - comment - 1 Jan 2015

As the only people who have confirmed this are jomsocial users we have to conclude it is an issue with jomsocial. I am closing this at this time. If more information is provided to show that the issue is in the core of joomla it can always be reopened


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5221.
avatar brianteeman brianteeman - change - 1 Jan 2015
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2015-01-01 16:59:10
Closed_By brianteeman
avatar brianteeman brianteeman - close - 1 Jan 2015
avatar brianteeman brianteeman - close - 1 Jan 2015
avatar sinisakrisan
sinisakrisan - comment - 5 Jan 2015

You might want to consider actually fixing this Brian.

http://issues.joomla.org/tracker/joomla-cms/5138
http://issues.joomla.org/tracker/joomla-cms/5144

Closing this report is good, because it is a duplicate, but that doesn't mean issue is resolved.
http://s15.postimg.org/vqngj1fwr/Screenshot_2015_01_05_20_14_34.png


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5221.
avatar chlodwig
chlodwig - comment - 11 Mar 2015

This problem occurs dominantly with JomSocial, because JomSocial saves a User basically on every use of the CUser object, even if there was no change. So you have a huge load on the database very quickly and it seems the statements simply get dropped. In a MySQL bin log I had the update on #__user, the deleting of the group 3 seconds later and the insert statement for the group missing completly.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5221.
avatar bruceits
bruceits - comment - 30 Mar 2015

I'm also seeing this now as I'm using Easy Profile. I have group specific menu items and started to notice when changes were made the menus would disappear. This is on Joomla 3.4.1.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5221.
avatar chlodwig
chlodwig - comment - 30 Mar 2015

In my case it was Joomla 3.3.3, but I assume this can happen on any version where groups are saved this way, at least back to 2.5 .
How about comparing database with user object and only change it, if there is a difference. That should be at least as save as the current solution. However I think the components using the User class should be more responsible with saving. Maybe core Joomla should offer a way of saving only the data for the #__user table, since a lot of 3rd part components need to use it.

Add a Comment

Login with GitHub to post a comment