You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.IllegalArgumentException: Task 2008 is not the owner,So can not change task assignee.
at com.bstek.uflo.command.impl.ChangeTaskAssigneeCommand.execute(ChangeTaskAssigneeCommand.java:41)
at com.bstek.uflo.command.impl.SpringTransactionCommandService$1.doInTransaction(SpringTransactionCommandService.java:53)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140)
at com.bstek.uflo.command.impl.SpringTransactionCommandService.executeCommand(SpringTransactionCommandService.java:51)
at com.bstek.uflo.service.impl.DefaultTaskService.changeTaskAssignee(DefaultTaskService.java:334)
相关截图:
The text was updated successfully, but these errors were encountered:
为了您的问题能得到及时准确解答,请认真填写下面各个选项,感谢您的配合。
当前使用的UFlo的具体版本号:2.1.5
遇到的问题详细描述:
看了下源码,认领任务接口只修改了当前任务的assignee与state属性。认领后owner属性为null.
此时如果需要更改指派人,changeTaskAssignee 接口中又检查了owner 必须非空。
涉及到的异常信息(完整异常信息):
java.lang.IllegalArgumentException: Task 2008 is not the owner,So can not change task assignee.
at com.bstek.uflo.command.impl.ChangeTaskAssigneeCommand.execute(ChangeTaskAssigneeCommand.java:41)
at com.bstek.uflo.command.impl.SpringTransactionCommandService$1.doInTransaction(SpringTransactionCommandService.java:53)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140)
at com.bstek.uflo.command.impl.SpringTransactionCommandService.executeCommand(SpringTransactionCommandService.java:51)
at com.bstek.uflo.service.impl.DefaultTaskService.changeTaskAssignee(DefaultTaskService.java:334)
相关截图:
The text was updated successfully, but these errors were encountered: