Bug 37339

Summary: delsub reports success when given subtask is already removed
Product: Infrastructure Reporter: Олег Соловьев <mcpain>
Component: girarAssignee: Dmitry V. Levin <ldv>
Status: CLOSED FIXED QA Contact: Andrey Cherepanov <cas>
Severity: normal    
Priority: P3 CC: glebfm, ldv
Version: unspecified   
Hardware: all   
OS: Linux   

Description Олег Соловьев 2019-10-16 12:45:04 MSK
Steps to reproduce:
Create task
Invoke task delsub NUMBER 100 twice

Actual results:
See two reports "task #NUMBER: removed subtask #100"

Expected results:
Second report should be like "task #NUMBER: subtask #100 is already removed, cannot proceed"
Comment 1 Dmitry V. Levin 2019-10-23 22:58:12 MSK
Implemented in commit d7a23bc99b8b549399470c9d45a5566b575ed0fc.