Hi

I noticed that when a user is saved from UI in EditUser.java in the 
method commit() there is a line:

EditGroup.saveGroups(getSettingDao(), user.getGroups());

which triggers a save of every group that the user is in.
I cannot see any reason whatsoever for this behaviour.

I have checked for instance when a user is saved from CSV import and 
there is no such behaviour.
Furthermore, I have commented out the line, made a few clicks not 
noticing any disruption. I have ran a precommit which passed.

But, I may be wrong. Does anybody know why this behaviour is there, or 
remembers when it was added and why?


Cheers,
Cristi
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev/

Reply via email to