jereldlimjy / pe

0 stars 0 forks source link

Address for an order does not update if customer updates address #9

Open jereldlimjy opened 1 year ago

jereldlimjy commented 1 year ago

Initially, I have a customer "abc" with 2 orders, banana and biscuits.

Screenshot 2023-04-14 at 3.08.16 PM.png Screenshot 2023-04-14 at 3.08.24 PM.png

Abc has changed address to "456 abc" instead of "123 abc"

Screenshot 2023-04-14 at 3.09.06 PM.png

However, the address for the 2 abc orders are still stuck at "123 abc"

Screenshot 2023-04-14 at 3.10.18 PM.png

nus-pe-script commented 1 year ago

Team's Response

We rejected this issue because a customer sends in an order with the delivery address at the same time. It does not make sense that when we update the customer's address, we update all his orders' addresses because the customer may not have asked for a change in delivery address, and it can be more dangerous to assume instead.

It is safer for the LoyaltyLift user to use the edito command to update the delivery address manually if he/she is aware of the change in delivery address together with the customer's address.

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: [replace this with your explanation]