You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Mohammad Kathawala (JIRA)" <ji...@apache.org> on 2016/06/04 12:07:59 UTC

[jira] [Comment Edited] (OFBIZ-6952) After change password by admin, I got error (see description and screenshot)

    [ https://issues.apache.org/jira/browse/OFBIZ-6952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15315478#comment-15315478 ] 

Mohammad Kathawala edited comment on OFBIZ-6952 at 6/4/16 12:07 PM:
--------------------------------------------------------------------

"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 updated userLogin object in the session. This fixes the issue.

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


was (Author: mohammad k):
"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)