[GH-ISSUE #3211] [Bug]: Can not import Transactions from CSV into a new created Account since #24.8.0 #15546

Closed
opened 2026-04-14 18:33:41 -05:00 by GiteaMirror · 16 comments
Owner

Originally created by @solarding on GitHub (Aug 6, 2024).
Original GitHub issue: https://github.com/actualbudget/actual/issues/3211

Verified issue does not already exist?

  • I have searched and found no existing issue
  • I will be providing steps how to reproduce the bug (in most cases this will also mean uploading a demo budget file)

What happened?

A bug happened!

I just updated to the new version, and I created a new account.
In this new Account I could not import the exported CSV transactions anymore. If i switch to an older existed account, the Import tool just show me the transactions with the same CSV.
Anyone experiencing the same problem? Or do i miss somehing?

I reverted back to ver 24.7 , now the Import works again.
BTW: another problem is 24.8 installation does not create a startup menu link in C:\Users\user1\AppData\Roaming\Microsoft\Windows\Start Menu\Programs

Where are you hosting Actual?

Desktop App (Electron)

What browsers are you seeing the problem on?

Desktop App (Electron)

Operating System

Windows 11

Originally created by @solarding on GitHub (Aug 6, 2024). Original GitHub issue: https://github.com/actualbudget/actual/issues/3211 ### Verified issue does not already exist? - [X] I have searched and found no existing issue - [X] I will be providing steps how to reproduce the bug (in most cases this will also mean uploading a demo budget file) ### What happened? A bug happened! I just updated to the new version, and I created a new account. In this new Account I could not import the exported CSV transactions anymore. If i switch to an older existed account, the Import tool just show me the transactions with the same CSV. Anyone experiencing the same problem? Or do i miss somehing? I reverted back to ver 24.7 , now the Import works again. BTW: another problem is 24.8 installation does not create a startup menu link in C:\Users\user1\AppData\Roaming\Microsoft\Windows\Start Menu\Programs ### Where are you hosting Actual? Desktop App (Electron) ### What browsers are you seeing the problem on? Desktop App (Electron) ### Operating System Windows 11
GiteaMirror added the transaction importbuggood first issue labels 2026-04-14 18:33:42 -05:00
Author
Owner

@solarding commented on GitHub (Aug 6, 2024):

Please let me know if you can not reproduce the problem. I will see what I can help with the steps to reproduce it

<!-- gh-comment-id:2271972028 --> @solarding commented on GitHub (Aug 6, 2024): Please let me know if you can not reproduce the problem. I will see what I can help with the steps to reproduce it
Author
Owner

@MatissJanis commented on GitHub (Aug 6, 2024):

Please provide reproduction steps (this includes a export budget file + a sample CSV)

<!-- gh-comment-id:2272004339 --> @MatissJanis commented on GitHub (Aug 6, 2024): Please provide reproduction steps (this includes a export budget file + a sample CSV)
Author
Owner

@solarding commented on GitHub (Aug 6, 2024):

Here you are, thanks !
2024-08-06-My Finances.zip
1027083060.csv

<!-- gh-comment-id:2272042104 --> @solarding commented on GitHub (Aug 6, 2024): Here you are, thanks ! [2024-08-06-My Finances.zip](https://github.com/user-attachments/files/16515097/2024-08-06-My.Finances.zip) [1027083060.csv](https://github.com/user-attachments/files/16515098/1027083060.csv)
Author
Owner

@MatissJanis commented on GitHub (Aug 7, 2024):

What steps should I take to reproduce the issue?

Seemed to work just fine for me.

Screenshot 2024-08-07 at 20 22 24 Screenshot 2024-08-07 at 20 22 42
<!-- gh-comment-id:2274190132 --> @MatissJanis commented on GitHub (Aug 7, 2024): What steps should I take to reproduce the issue? Seemed to work just fine for me. <img width="1439" alt="Screenshot 2024-08-07 at 20 22 24" src="https://github.com/user-attachments/assets/f5662f57-d115-4274-baec-f15a1214b613"> <img width="1440" alt="Screenshot 2024-08-07 at 20 22 42" src="https://github.com/user-attachments/assets/dfec8701-d67e-45ed-8a98-a7a383a9718c">
Author
Owner

@MatissJanis commented on GitHub (Aug 7, 2024):

Managed to reproduce:

  1. import the demo budget (https://github.com/actualbudget/actual/issues/3211#issuecomment-2272042104)
  2. create a new account
  3. attempt to import the csv
<!-- gh-comment-id:2274196124 --> @MatissJanis commented on GitHub (Aug 7, 2024): Managed to reproduce: 1. import the demo budget (https://github.com/actualbudget/actual/issues/3211#issuecomment-2272042104) 2. create a new account 3. attempt to import the csv
Author
Owner

@psybers commented on GitHub (Aug 11, 2024):

@MatissJanis As mentioned in #3227 (dupe of this one):

Caused by this commit: 30a70f5627

<!-- gh-comment-id:2282330208 --> @psybers commented on GitHub (Aug 11, 2024): @MatissJanis As mentioned in #3227 (dupe of this one): Caused by this commit: https://github.com/actualbudget/actual/commit/30a70f56270d22577c1f2e3d99a3113e8219a28d
Author
Owner

@pmoon00 commented on GitHub (Aug 11, 2024):

@MatissJanis happy to look into this. Had a look at the error provided in #3227 but it's not super obvious how this change brought about this error. Will look into it more, but do you have any findings to share yourself @MatissJanis?

<!-- gh-comment-id:2282468154 --> @pmoon00 commented on GitHub (Aug 11, 2024): @MatissJanis happy to look into this. Had a look at the error provided in #3227 but it's not super obvious how this change brought about this error. Will look into it more, but do you have any findings to share yourself @MatissJanis?
Author
Owner

@pmoon00 commented on GitHub (Aug 11, 2024):

Just double checking that this is the error you are reporting @solarding

image

<!-- gh-comment-id:2282495745 --> @pmoon00 commented on GitHub (Aug 11, 2024): Just double checking that this is the error you are reporting @solarding ![image](https://github.com/user-attachments/assets/49b0d4f6-0ea7-4894-9725-ce837fbf2d01)
Author
Owner

@psybers commented on GitHub (Aug 11, 2024):

@pmoon00 That wasn't the error I was seeing (as reported in #3227).

<!-- gh-comment-id:2282506185 --> @psybers commented on GitHub (Aug 11, 2024): @pmoon00 That wasn't the error I was seeing (as reported in #3227).
Author
Owner

@pmoon00 commented on GitHub (Aug 11, 2024):

@pmoon00 That wasn't the error I was seeing (as reported in #3227).

I understand this is a different error to what you reported in #3227. Right now I'm trying to figure out if this issue is reporting something that is the same what you report or if it's two different issues.

<!-- gh-comment-id:2282509611 --> @pmoon00 commented on GitHub (Aug 11, 2024): > @pmoon00 That wasn't the error I was seeing (as reported in #3227). I understand this is a different error to what you reported in #3227. Right now I'm trying to figure out if this issue is reporting something that is the same what you report or if it's two different issues.
Author
Owner

@pmoon00 commented on GitHub (Aug 11, 2024):

@psybers I believe the issue described here is unrelated to the issue you are referring to #3227.

<!-- gh-comment-id:2282659986 --> @pmoon00 commented on GitHub (Aug 11, 2024): @psybers I believe the issue described here is unrelated to the issue you are referring to #3227.
Author
Owner

@eireksten commented on GitHub (Aug 11, 2024):

Briefly checked, since I got this problem when creating a budget. To me it looks like it would happen on all new accounts, when trying to import csv.

From what I could tell, the missing csv-mappings-${accountId} causes a crash in getInitialMappings due to the trx_id and selected fields not being strings. Thus calling match on them fails.

image

<!-- gh-comment-id:2282774717 --> @eireksten commented on GitHub (Aug 11, 2024): Briefly checked, since I got this problem when creating a budget. To me it looks like it would happen on all new accounts, when trying to import csv. From what I could tell, the missing `csv-mappings-${accountId}` causes a crash in `getInitialMappings` due to the `trx_id` and `selected` fields not being strings. Thus calling `match` on them fails. ![image](https://github.com/user-attachments/assets/a4d4d264-32c8-46ef-bcfc-d7ce296db637)
Author
Owner

@youngcw commented on GitHub (Aug 11, 2024):

Can this be closed now that #3232 is merged?

<!-- gh-comment-id:2282873452 --> @youngcw commented on GitHub (Aug 11, 2024): Can this be closed now that #3232 is merged?
Author
Owner

@MatissJanis commented on GitHub (Aug 11, 2024):

No. #3232 doesn't fix this issue.

See reproduction steps here: https://github.com/actualbudget/actual/issues/3211#issuecomment-2274196124

<!-- gh-comment-id:2282874256 --> @MatissJanis commented on GitHub (Aug 11, 2024): No. #3232 doesn't fix this issue. See reproduction steps here: https://github.com/actualbudget/actual/issues/3211#issuecomment-2274196124
Author
Owner

@pmoon00 commented on GitHub (Aug 11, 2024):

Can this be closed now that #3232 is merged?

I don't think so, I don't think the two issues are related.

<!-- gh-comment-id:2282874326 --> @pmoon00 commented on GitHub (Aug 11, 2024): > Can this be closed now that #3232 is merged? I don't think so, I don't think the two issues are related.
Author
Owner

@MikesGlitch commented on GitHub (Aug 14, 2024):

Closed by: #3251

<!-- gh-comment-id:2288324050 --> @MikesGlitch commented on GitHub (Aug 14, 2024): Closed by: #3251
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#15546