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

bugfix: 通过ESB V3接口创建一次性定时任务报错 #701

Closed
jsonwan opened this issue Mar 11, 2022 · 1 comment
Closed

bugfix: 通过ESB V3接口创建一次性定时任务报错 #701

jsonwan opened this issue Mar 11, 2022 · 1 comment
Assignees
Labels
kind/bug 程序故障Bug,漏洞 stage/prod Production environment in tencent has been deploy stage/test Test environment in tencent has been deploy

Comments

@jsonwan
Copy link
Collaborator

jsonwan commented Mar 11, 2022

版本/分支/tag
3.4.5.3
问题描述
通过ESB V3接口创建一次性定时任务报内部服务器错误
如何复现
通过ESB V3接口创建一次性定时任务
预期结果
创建成功

@jsonwan jsonwan added the kind/bug 程序故障Bug,漏洞 label Mar 11, 2022
@jsonwan jsonwan self-assigned this Mar 11, 2022
jsonwan added a commit to jsonwan/bk-job that referenced this issue Mar 11, 2022
@jsonwan
Copy link
Collaborator Author

jsonwan commented Mar 11, 2022

原因:创建一次性定时任务时cron表达式传入空值,但是写入DB时对空表达式也进行了转换,原来的转换工具类无法处理空值抛出异常导致失败。
解决办法:增加转换工具类对空值的处理。

jsonwan added a commit that referenced this issue Mar 11, 2022
bugfix: 通过ESB V3接口创建一次性定时任务报错 #701
@bkjob-bot bkjob-bot added the stage/prod Production environment in tencent has been deploy label Mar 11, 2022
@bkjob-bot bkjob-bot added the stage/test Test environment in tencent has been deploy label Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug 程序故障Bug,漏洞 stage/prod Production environment in tencent has been deploy stage/test Test environment in tencent has been deploy
Projects
None yet
Development

No branches or pull requests

2 participants