Created attachment 925128 [details]
[test plan] when user change case's category in plan detail page, If user does not choose any category then click submit btn, system report SyntaxError.
Description of problem:
Version-Release number of selected component (if applicable):
v3.8.10-1 on devel server.
Steps to Reproduce:
1.Enter a plan detail page.
2.Checked all cases, then click category link.
3.In Select Category form, user did not choose any category, then click select btn.
system system report SyntaxError, like:
Uncaught SyntaxError: Badly formed JSON string
system popout a warning: Please select category first.
this issue also happened when change assignee in run detail page if no caserun has been checked.
the two bugs mentioned above have been fixed by this patch https://code.engineering.redhat.com/gerrit/#/c/30677/
verify this issue on v3.8.10-1 on devel server.--->Pass
verify steps are same as description.