Bug 644

Summary: Manpower deducts when repeat updating same RECEIVED state
Product: Group31Bullship Reporter: SamJim <psjim2-c>
Component: HistoryAssignee: SamJim <psjim2-c>
Status: RESOLVED FIXED    
Severity: enhancement CC: tnchan27-c
Priority: ---    
Version: Demo 1.1   
Hardware: PC   
OS: Windows   

Description SamJim 2021-12-04 17:32:02 HKT
Problem description:
If update a transaction with RECEIVED state to the same RECEIVED state, the manpower will be deducted.

Step to reproduce:
1. Create a transaction.
2. Click on "History" tab.
3. Double click the "State" field of a record.
4. Delete the text in the field and type 3.
5. Double click the "State" field of that record again.
6. Repeat Step 4.

Actual result:
Go back to the Calculator page, and the manpower will be deducted.

Expected result:
The manpower should have no changes as updating a transaction to its same state means there are no changes for the state.
Comment 1 Matthew Chan 2021-12-04 17:37:17 HKT
This problem is due to a missing statement for checking the user input state of the RECEIVED state.  We have already fixed it by adding that statement, thank you for reporting!