You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Xiaoxiang Yu (Jira)" <ji...@apache.org> on 2023/03/29 07:18:00 UTC

[jira] [Assigned] (KYLIN-5334) When the optional parameter "page_offset" of the job list API is an abnormal value, the returned error message is unclear

     [ https://issues.apache.org/jira/browse/KYLIN-5334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiaoxiang Yu reassigned KYLIN-5334:
-----------------------------------

    Assignee: sibing.zhang

> When the optional parameter "page_offset" of the job list API is an abnormal value, the returned error message is unclear
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KYLIN-5334
>                 URL: https://issues.apache.org/jira/browse/KYLIN-5334
>             Project: Kylin
>          Issue Type: Bug
>    Affects Versions: 5.0-alpha
>            Reporter: sibing.zhang
>            Assignee: sibing.zhang
>            Priority: Major
>             Fix For: 5.0-alpha
>
>         Attachments: image-2022-12-05-19-59-13-386.png
>
>
> 返回任务列表API({{{}/kylin/api/jobs)的参数page_offset为非负整数外的异常值时,接口报错不明确。比如,下图中将{}}}{{{}page_offset置为abc,接口返回的错误信息不友好。{}}}
> !image-2022-12-05-19-59-13-386.png|width=1047,height=181!
> *root cause:*
> 获取任务接口未对参数{{{}page_offset{}}}、{{{}page_size{}}}做校验导致。
> *fix design:*
> 在接口中增加{{{}page_offset{}}} {{page_size}} 参数的校验。



--
This message was sent by Atlassian Jira
(v8.20.10#820010)