[jira] [Commented] (OFBIZ-10573) can‘t run job when user changed password

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-10573) can‘t run job when user changed password

Nicolas Malin (Jira)

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

Rohit Koushal commented on OFBIZ-10573:
---------------------------------------

Thanks, [~jacques.le.roux] for keeping patience here.

While working on this item, I am facing an issue that you mentioned in OFBIZ-10837. What I did is schedule a job with service "testScv" and on job execution, I got below error.
 !issue.png!
Can you please check what's going wrong. To make this work I have reverted your changes on my local box.

In the current approach on password change, I have grabbed all the pending jobs that require auth and update userLogin in it. Attaching the patch with a mentioned solution.

 

 

> can‘t run job when user changed password
> ----------------------------------------
>
>                 Key: OFBIZ-10573
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10573
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Release Branch 13.07, Release Branch 16.11
>            Reporter: zhang.liang
>            Assignee: Rohit Koushal
>            Priority: Major
>         Attachments: image-2018-09-19-15-41-13-122.png, image-2018-09-19-15-43-25-388.png, image.png, issue.png
>
>
> dispatcher.runAsync()   create a job. if user changed password befor run job, throw a exception
> !image-2018-09-19-15-41-13-122.png!
> ServiceDispatcher.chekAuth();
> !image-2018-09-19-15-43-25-388.png!
> if check old password not equals new password  auth failed
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)