[ 
https://issues.apache.org/jira/browse/OFBIZ-6952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mohammad Kathawala updated OFBIZ-6952:
--------------------------------------
    Attachment: OFBIZ-6952.patch

"updatePassword" service is used here. After updating the password, this 
service is not replacing the userLogin object in session with the newly updated 
userLogin object. This was creating the issue.

In the patch, we have used the simple method from LoginSimpleEvents.xml, which 
in turn calls the "updatePassword" service and set the newly update userLogin 
object in the session. This fixes the issue.

Thanks [~rohit.koushal] for the research and help. 

> After change password by admin, I got error (see description and screenshot)
> ----------------------------------------------------------------------------
>
>                 Key: OFBIZ-6952
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6952
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: Supachai Chaima-ngua (Tor)
>              Labels: partymgr
>             Fix For: Trunk
>
>         Attachments: Image 086.png, OFBIZ-6952.patch, Screen Shot 2016-04-20 
> at 6.26.00 PM.png, screenshot-1.png
>
>
> The next page after save new password appear the message below. it should not 
> happen with admin.
> Message on screen:
> You do not have permission to view this page. ("PARTYMGR_VIEW" or 
> "PARTYMGR_ADMIN" needed)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to