Bug 1139927 - [Admin]There would be errors when deleting category which has cases belonging to .
Summary: [Admin]There would be errors when deleting category which has cases belonging...
Keywords:
Status: NEW
Alias: None
Product: TCMS
Classification: Other
Component: Application
Version: 3.8.10
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: cqi
QA Contact: Nobody
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-10 03:13 UTC by Tingting Zhao
Modified: 2022-03-14 03:25 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)
there would be errors when deleting the category with cases belonging to. (145.02 KB, application/octet-stream)
2014-09-10 03:13 UTC, Tingting Zhao
no flags Details
there would be error when deleting priority if there cases belong to. (141.78 KB, application/octet-stream)
2014-09-10 03:14 UTC, Tingting Zhao
no flags Details

Description Tingting Zhao 2014-09-10 03:13:51 UTC
Created attachment 935965 [details]
there would be errors when deleting the category with cases belonging to.

Description of problem:
as summary.

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

How reproducible:
100%

Steps to Reproduce:
1.login the tcms as a superuser.
2.then add one new category belonging to a product. Check whether this category can be deleted.
3.then create a new case with the new category.Then check whether this category can be deleted.

Actual results:
if the category has no cases ,we can delete it.
else,it would have databases error.

Expected results:


Additional info:
the priority also has the same problem.

Comment 1 Tingting Zhao 2014-09-10 03:14:50 UTC
Created attachment 935966 [details]
there would be error when deleting priority if there cases belong  to.


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