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: as summary. Version-Release number of selected component (if applicable): v3.8.10-1 on devel server. How reproducible: 100% Steps to Reproduce: 1.Enter a plan detail page. https://tcms-devel.app.eng.nay.redhat.com/plan/10135 2.Checked all cases, then click category link. 3.In Select Category form, user did not choose any category, then click select btn. Actual results: system system report SyntaxError, like: Uncaught SyntaxError: Badly formed JSON string Expected results: system popout a warning: Please select category first. Additional info:
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.