powerpaul17 / nc_money

Nextcloud app for finance management
GNU Affero General Public License v3.0
96 stars 9 forks source link

Can no longer add transactions in new release. #72

Closed cathray closed 1 month ago

cathray commented 1 month ago

Describe the bug When trying to add a new transaction after clicking the + Button the progress animation is shown forever and the transaction is not being added. The console shows the error message: "TypeError: r.getFullYear is not a function"

To Reproduce Steps to reproduce the behavior:

  1. Go to any account's transaction list.
  2. Fill in the input boxes for a new transaction
  3. click the + button to add the new transaction
  4. See error

Expected behavior I expected the transaction to be added to the list of transactions.

Screenshots Ekrankopio de 2024-06-09 17-47-46

Nextcloud information (please complete the following information):

Desktop (please complete the following information):

cathray commented 1 month ago

I found the following:

cathray commented 1 month ago

Also the transaction gets added to the other account with only half the transaction: Ekrankopio de 2024-06-09 18-29-01 And can be completed there by selecting the other account in the second half.

powerpaul17 commented 1 month ago

Yeah, sorry, I forgot this occurrence while fixing the time zone issues. I really should add more tests.. :sweat:

powerpaul17 commented 1 month ago

Should be fixed in 54155604deca7b13b53092890ec5f5cdfc248f13

powerpaul17 commented 1 month ago

And thanks for the detailed bug report! :slightly_smiling_face: