Bug 1139927
| Summary: | [Admin]There would be errors when deleting category which has cases belonging to . | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Other] TCMS | Reporter: | Tingting Zhao <tzhao> | ||||||
| Component: | Application | Assignee: | cqi | ||||||
| Status: | NEW --- | QA Contact: | Nobody <nobody> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 3.8.10 | CC: | cqi, junzhang, leiwang, ryang, vchen | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | Type: | Bug | |||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
Created attachment 935966 [details]
there would be error when deleting priority if there cases belong to.
|
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.