Open nus-pe-bot opened 2 years ago
"However, we are still able to add orderlines to orders. This is confusing especially when the order is still considered fulfilled." Technically in the warehouse management system, they can add on orderlines to already fulfilled orders. This is in line with some workflows of warehouses regarding rectifying actions.
Furthermore, intuitively as a user, if you already fulfilled the order, what for bother to add another orderline for generic order fulfilment?
"Either the order should become unfulfilled again, or I should not be able to add an orderline to the order." This is your claim on the expected behaviour, but the current product's behaviour is deliberately designed as such for the aforementioned reasons.
--
Describe the bug
The fulfill command should essentially mark orders as completed. However, we are still able to add orderlines to orders. This is confusing especially when the order is still considered fulfilled.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Either the order should become unfulfilled again, or I should not be able to add an orderline to the order.
Screenshots
Additional context
Testing order fulfill and orderline commands.
[original: nus-cs2113-AY2122S2/pe-interim#534] [original labels: type.FeatureFlaw severity.High]