nus-cs2103-AY2324S2 / pe-dev-response

0 stars 0 forks source link

The order that had the non existent menu item did not change product name #2811

Open nus-se-script opened 6 months ago

nus-se-script commented 6 months ago

Screenshot 2024-04-19 at 16.41.15.png

The UG says that editing the order will change the product name associated with the new MENU_ID, however now there are two products in one order, where one is a non-existent product, which is unexpected behaviour.

Below was the expected behaviour.

Screenshot 2024-04-19 at 16.43.40.png

Screenshot 2024-04-19 at 16.44.14.png


[original: nus-cs2103-AY2324S2/pe-interim#3541] [original labels: type.FunctionalityBug severity.Medium]

bertrandong commented 6 months ago

Team's Response

It is stated in our User Guide that editing products on the product menu will not affect or change the products on active orders. (Under the edit menu feature) We have previously thought about this and it is the intended behaviour of our app. Our rationale is that once products have been added to the orders, it is said to be confirmed and ready for preparation, so they should not be edited any further. Even if the product is no longer existing on the menu, the one on the active order is said to be in the process of baking already. (So it is like the last few batches of that type of product)

Duplicate status (if any):

Duplicate of #5161