-
Notifications
You must be signed in to change notification settings - Fork 681
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
新创建的工单保存不了 #481
Comments
错误原因应该是apptoken表里面没有你当前调用api时传的appname。 但是如果没有的话 应该在这之前就无法通过权限校验。 看下loonflow的日志。里面会有详细的错误 |
前端不是自己写的,还是用的原有的。,我只是把workflow 这个项目 作为一个app 放进我们现有的一个django 项目里了。 调用loonflow api时 header里面appname传的是loonflow 。loonflow的日志没有日志 |
日志默认在用户加目录下。 你怎么启动的loonflow? |
工单自定义字段的模型定义在 https://github.com/blackholll/loonflow/blob/master/apps/ticket/models.py 中的 TicketCustomField。 也就是ticket_ticketcustomfield表。 不同的列保存不同类型属性的值。 你这前端界面 是非常老的版本了, 而且你用的前端是worflowdemo。 这个只是个demo, 功能不全,支持的字段类型也比较有限 |
ISSUE TEMPLATE
使用的版本:r2.0.18
问题详细描述: 使用 “新建工单” 功能创建了一个新的工单
见上图,
点击保存后,返回200 ,但有报错 ,“Nonetype object has no attribute 'ticket_sn_prefix'”
是否查看了系统日志(默认在启动用户家目录下loonflow.log): 否,无log
是否搜索过历史issue:是
做过哪些尝试:通过访问的api 去浏览代码运行过程。
The text was updated successfully, but these errors were encountered: