Bug 37339 - delsub reports success when given subtask is already removed
Summary: delsub reports success when given subtask is already removed
Status: CLOSED FIXED
Alias: None
Product: Infrastructure
Classification: Infrastructure
Component: girar (show other bugs)
Version: unspecified
Hardware: all Linux
: P3 normal
Assignee: Dmitry V. Levin
QA Contact: Andrey Cherepanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-16 12:45 MSK by Олег Соловьев
Modified: 2019-10-23 22:58 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.