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

Deepak Dixit commented on OFBIZ-10573:
--------------------------------------

Hi [~rohit.koushal],

Updating userLogin in RuntimeData entity may cause performance issue.
one option could be refresh userLogin while preparing job context from runtime 
at PersistedServiceJob#getContext method, this may cause extra db hit on each 
job run. 



> 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: OFBIZ-10573.patch, OFBIZ-10573_v2.patch, 
> 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
(v8.20.10#820010)

Reply via email to