Red Hat Bugzilla – Bug 820933
Error message when trying to create new test run
Last modified: 2016-06-23 00:36:07 EDT
Created attachment 583808 [details]
Description of problem:
Trying to create a new run generates error even though field is specified
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Try to create new test run
Error stating Summary field is required, even though it is specified
Test run created successfully.
Maybe PEBKAC. I haven't used TCMS before.
(In reply to comment #0)
> Created attachment 583808 [details]
> Error message
> Description of problem:
> Trying to create a new run generates error even though field is specified
> Version-Release number of selected component (if applicable):
> How reproducible:
> Steps to Reproduce:
> 1. Try to create new test run
> Actual results:
> Error stating Summary field is required, even though it is specified
> Expected results:
> Test run created successfully.
> Additional info:
> Maybe PEBKAC. I haven't used TCMS before.
Simon Green ，
Thank you for reporting . QE unable reproduce it now . Could you help describe the detail steps ? Thanks .
(In reply to comment #1)
> Thank you for reporting . QE unable reproduce it now . Could you help describe
> the detail steps ? Thanks .
1. Visit https://tcms.engineering.redhat.com/plan/1197/
2. Click on Run -> Write new run
3. Fill out the field as per screenshot.
4. TCMS gives error message.
we can't reproduce this bug, after input the some info.
Would you please provide more details? or maybe we can vnc to have a look.
Close it since can not reproduce.
Created attachment 598013 [details]
respected results field of case 12377
Created attachment 598024 [details]
html source editor of TinyMCE
This bug only reproduce when selected case include case 12377.
In "Document" tab of 12377, the "Expected Results" field somehow display strage input text area.please refer to the attachment.
The html code of first input text area is:
<input id="ncf-summary" class="x-form-text x-form-field" style="width: 792px;" type="text" name="summary" size="20">
these code will cause interference with the submit of upper form.
So to solve this problem, we just need remove these strange input text area of Case 12377.
Moreover, we guess these dangerous html source is copied or edited by user via HTML Source Editor of TinyMCE. This feature allow people to copy or edit html code arbitrarily which will make TCMS vulnerable to malicious JS attack.
So will disable the feature of HTML Source Editor from version 3.8.0 to resolve above problem at root.
Verify 3.8.0-1 on stage --> PASS
Create test run, and include case 12377
It could create new run.