Bug 614

Summary: Uncaught exception of modify quantities in checkout function
Product: CS3343 2021/09 POS System Reporter: chakfpoon2-c
Component: SystemAssignee: chakfpoon2-c
Status: RESOLVED FIXED    
Severity: normal    
Priority: ---    
Version: 0.0.1   
Hardware: PC   
OS: Mac OS   

Description chakfpoon2-c 2021-11-26 00:11:59 HKT
The problem will be triggered by entering product name into "Please input which products customers would like to modify from their cart." The program will halt.
======================================================================================
Please input your Worker ID for logging in the system...
1
Please input your Member ID for logging in the system...
1234
---Welcome to Morx Supermarket---
---To continue, please proceed your actions---
Input (1) for accessing Inventory System
Input (2) for accessing Checkout System
Input (3) for accessing Sales System
Input (4) for accessing Membership System
Input (5) for switching member
Input (6) to exit
2
---Welcome to Checkout System, ON9.---
Input commands for further management:
Input (1) for Checkout
Input (2) for refund
Input (3) for exit
1
No                  Description         Quantity            Price($)            
1                   candies             100                 3000.0              
2                   Calcium Blocks      100                 15000.0             
Please input (0) for proceed to checkout
Please input (1) for remove products
Please input (2) for modify quantities of products
Please input (3) to cancel the checkout process
2
Please input which products customers would like to modify from their cart.
candies
Comment 1 chakfpoon2-c 2021-11-29 11:35:36 HKT
This problem is due to instruction error. The correct instruction should be input the number of the product instead of name.
==================================================================================
Please input your Worker ID for logging in the system...
1
Please input your Member ID for logging in the system...
1234
---Welcome to Morx Supermarket---
---To continue, please proceed your actions---
Input (1) for accessing Inventory System
Input (2) for accessing Checkout System
Input (3) for accessing Sales System
Input (4) for accessing Membership System
Input (5) for switching member
Input (6) to exit
2
---Welcome to Checkout System, aiden.---
Input commands for further management:
Input (1) for Checkout
Input (2) for refund
Input (3) for exit
1
No                  Description         Quantity            Price($)            
1                   candies             100                 3000.0              
2                   Calcium Blocks      100                 15000.0             
Please input (0) for proceed to checkout
Please input (1) for remove products
Please input (2) for modify quantities of products
Please input (3) to cancel the checkout process
2
Please input which number of products customers would like to modify from their cart.