[ https://issues.apache.org/jira/browse/JSPWIKI-1042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15807430#comment-15807430 ]
Harry Metske commented on JSPWIKI-1042: --------------------------------------- Eric, perfectly fine, we can always use help. Just attach your patch as a .patch file to this JIRA and we will process it. tx, Harry > Impossible to change user profile loginName, fullname, password > --------------------------------------------------------------- > > Key: JSPWIKI-1042 > URL: https://issues.apache.org/jira/browse/JSPWIKI-1042 > Project: JSPWiki > Issue Type: Bug > Components: Core & storage > Affects Versions: 2.10.2, 2.10.3 > Reporter: Eric Kraußer > > Just try to change the logged in users profile, e. g. the password. > The method > UserManager#validateProfile(WikiContext, UserProfile) > checks for duplicate entries but this check fails on the user profile that > should be changed itself. If you change your password the manager finds an > user profile with the same email adress and fails. > The DefaultUserProfile#equals(Object) method should only test the uuid > attribute and not the other attributes. This would be the best solution i > think, but this could break other code that looks in maps an sets, for > example. > Or just check for equality of the uuid in > UserManager#validateProfile(WikiContext, UserProfile). > I would like to help here and with other open issues and can send patches. -- This message was sent by Atlassian JIRA (v6.3.4#6332)