Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

工单创建Bug #317

Open
MarkSCQ opened this issue Mar 14, 2024 · 0 comments
Open

工单创建Bug #317

MarkSCQ opened this issue Mar 14, 2024 · 0 comments

Comments

@MarkSCQ
Copy link

MarkSCQ commented Mar 14, 2024

描述:当创建的流程只包含开始节点和结束节点的时候,会产生bug

  1. 只有开始节点和结束节点的流程不包含处理人
  2. list所有工单的时候会遍历到处理人这一个属性,没有处理人的时候,interface{}转型失败会导致查询数据失败
  3. 查询数据失败会导致前后端卡死

建议
前端禁止创建只有开始和结束节点的流程
或后端添加额外校验

前端修改位置 verifyProcess函数 ferry_web/src/views/process/admin/process-manager.vue
后端具体报错位置 workOrderList.go
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant