Describe the bug
The app allows editing the deadline of a task to a past timestamp. When marking a task with modified deadline like this, the efficiency of the task owner does not change (decrease) as specified in the UG.
To Reproduce
Steps to reproduce the behavior:
Assign a task to an employee:
assign task/Complete Project Proposal 2 by/20-05-2024 2359 to/1
Edit the deadline to the past:
edit_deadline 1 by/12-02-2020 2320
Mark that task as done:
mark task/Complete Project Proposal 2 o/1
Observe the efficiency of the task owner.
Expected behavior
The efficiency of the task owner should decrease.
Actual behavior
The efficiency of the task owner increased.
Screenshots
Before marking:
After marking:
Efficiency of Alex Yeoh increased from 80% to 100%
Describe the bug The app allows editing the deadline of a task to a past timestamp. When marking a task with modified deadline like this, the efficiency of the task owner does not change (decrease) as specified in the UG.
To Reproduce Steps to reproduce the behavior:
Assign a task to an employee:
assign task/Complete Project Proposal 2 by/20-05-2024 2359 to/1
Edit the deadline to the past:
edit_deadline 1 by/12-02-2020 2320
Mark that task as done:
mark task/Complete Project Proposal 2 o/1
Observe the efficiency of the task owner.
Expected behavior The efficiency of the task owner should decrease.
Actual behavior The efficiency of the task owner increased.
Screenshots Before marking:
After marking:
Efficiency of Alex Yeoh increased from 80% to 100%
Desktop:
[original: nus-cs2103-AY2324S2/pe-interim#5586] [original labels: type.FunctionalityBug severity.Medium]