AY2425S1-CS2113-W14-3 / tp

0 stars 5 forks source link

[PE-D][Tester C] All transactions are lost when closing the app #260

Open soc-se-bot opened 6 hours ago

soc-se-bot commented 6 hours ago

After entering transactions and then closing the app with the 'exit' command, all entered transactions do not show up the next time when using the "list" command.

Usage History:


list
--------------------------------------------
Here's a list of all recorded entries:
1. [Expense] - sweets $ 100,00 (on 09/11/20) [FOOD]
2. [Expense] - dinner $ 100,00 (on 10/10/24) [FOOD]
3. [Expense] - coffe $ 1,00 (on 08/11/24) [UNCATEGORIZED]
4. [Expense] - coffe $ 1,20 (on 08/11/24) [UNCATEGORIZED]
5. [Expense] - dinner $ 100,00 (on 08/11/24) [TRANSPORT]
6. [Expense] - dinner $ 100,00 (on 08/11/24) [ENTERTAINMENT]
7. [Income] - Work $ 2000,00 (on 08/11/24) [UNCATEGORIZED]
8. [Income] - SideHussle $ 300,00 (on 08/11/24) [UNCATEGORIZED]

Net cashflow: $ 1897,80

Highest Expense Category: FOOD ($200,00)
Highest Income Category: UNCATEGORIZED ($2300,00)
--------------------------------------------
Your current budget is: $ 10,00
Your current monthly balance is: $ -192,20
--------------------------------------------
exit
--------------------------------------------
Goodbye! Hope to see you again soon :)
--------------------------------------------

(base) ➜  PEdryRun java -jar FinanceBuddy.jar
 ______  _                                   ____              _      _
|  ____|(_)                                 |  _ \            | |    | |
| |__    _  _ __    __ _  _ __    ___   ___ | |_) | _   _   __| |  __| | _   _
|  __|  | || '_ \  / _` || '_ \  / __| / _ \|  _ < | | | | / _` | / _` || | | |
| |     | || | | || (_| || | | || (__ |  __/| |_) || |_| || (_| || (_| || |_| |
|_|     |_||_| |_| \__,_||_| |_| \___| \___||____/  \__,_| \__,_| \__,_| \__, |
                                                                          __/ |
                                                                         |___/

--------------------------------------------
Welcome to FinanceBuddy!
Your one stop solution for financial peace of mind
How can I help you today? :)
--------------------------------------------

--------------------------------------------
Would you like to set a budget? (yes/no)
--------------------------------------------
no
--------------------------------------------
Budget setting skipped.
--------------------------------------------
list
--------------------------------------------
No entries found.
--------------------------------------------
No budget has been set.
--------------------------------------------

Labels: severity.High type.FunctionalityBug original: kennethSty/ped#14

limkongkiat commented 6 hours ago

I think something is wrong with this guy's set-up