Bug 1094148 - [test case]When create a case in the following case, system will go to 500 error page.
Summary: [test case]When create a case in the following case, system will go to 500 er...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: TCMS
Classification: Other
Component: Application
Version: 3.8.7
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: cqi
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-05 07:30 UTC by yangqiu
Modified: 2016-02-22 00:48 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-05-05 09:07:06 UTC
Embargoed:


Attachments (Terms of Use)
[test case]When create a case in the following case, system will go to 500 error page. (200.89 KB, image/jpeg)
2014-05-05 07:30 UTC, yangqiu
no flags Details

Description yangqiu 2014-05-05 07:30:03 UTC
Created attachment 892448 [details]
[test case]When create a case in the following case, system will go to 500 error page.

Description of problem:
as subject

Version-Release number of selected component (if applicable):
v3.8.7-4 on qa server.

How reproducible:
100%

Steps to Reproduce:
1.Enter a plan detail page.
https://tcms.app.qa.eng.nay.redhat.com/plan/10687/yang-qiu-ce-shi-plan-a#testcases
2.Click 'case-write new case' link to enter create case page.
3.Fill case info includes Summary|Component|Category|Setup|Actions|Expected Results|Breakdown|Priority|Default Tester|Product|Automated.
4.Click 'save and return to plan' btn.

Actual results:
system will go to 500 error page.

Expected results:
System save the new case right.


Additional info:

Comment 1 yangqiu 2014-05-05 09:07:06 UTC
This issue caused by dirty data in db.
When query user by  
User.objects.get(Q(email='qiyang') | Q(username='qiyang'))
there are Multiple objects returns.
While the dirty data caused by wrong config.


Note You need to log in before you can comment on or make changes to this bug.