[GH-ISSUE #3688] [Bug]: Copy last month's budget not working #15759

Closed
opened 2026-04-14 18:50:05 -05:00 by GiteaMirror · 12 comments
Owner

Originally created by @psybers on GitHub (Oct 18, 2024).
Original GitHub issue: https://github.com/actualbudget/actual/issues/3688

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?

I am using tracking budget (might not be a bug for envelope).

Normally, I go to the next month around now (half way through the current month) and copy the budget over, using "copy last months budget" in the menu:

image

When I try that now, nothing happens. No errors in the JS console. Literally nothing. Just stays as zero's.

I can select the last option and set it to the 3 month average, and that works. And then I can select the second and zero it back out. But the first option does nothing at all.

Where are you hosting Actual?

Docker

What browsers are you seeing the problem on?

Chrome

Operating System

Mac OSX

Originally created by @psybers on GitHub (Oct 18, 2024). Original GitHub issue: https://github.com/actualbudget/actual/issues/3688 ### 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? I am using tracking budget (might not be a bug for envelope). Normally, I go to the next month around now (half way through the current month) and copy the budget over, using "copy last months budget" in the menu: <img width="266" alt="image" src="https://github.com/user-attachments/assets/c7ff7948-0c81-423e-a273-cac38cf5547a"> When I try that now, nothing happens. No errors in the JS console. Literally nothing. Just stays as zero's. I can select the last option and set it to the 3 month average, and that works. And then I can select the second and zero it back out. But the first option does nothing at all. ### Where are you hosting Actual? Docker ### What browsers are you seeing the problem on? Chrome ### Operating System Mac OSX
GiteaMirror added the bug label 2026-04-14 18:50:05 -05:00
Author
Owner

@psybers commented on GitHub (Oct 18, 2024):

Ok interesting follow-up: if I manually set some value in November, I can 'copy last months budget' in December and it copies it over.

So only November is broken...

<!-- gh-comment-id:2420925017 --> @psybers commented on GitHub (Oct 18, 2024): Ok interesting follow-up: if I manually set some value in November, I can 'copy last months budget' in December and it copies it over. So only November is broken...
Author
Owner

@psybers commented on GitHub (Oct 18, 2024):

First, there would be no "compatability issue" between the server in Docker and running the client in Mac. If there was any incompatibility, it would simply be the fact the client is running on mac.

Second, why would it be a "right time" issue? I already mentioned I tried it "in the middle of the month". But why would other months copy just fine and not this single month?

<!-- gh-comment-id:2421129056 --> @psybers commented on GitHub (Oct 18, 2024): First, there would be no "compatability issue" between the server in Docker and running the client in Mac. If there was any incompatibility, it would simply be the fact the client is running on mac. Second, why would it be a "right time" issue? I already mentioned I tried it "in the middle of the month". But why would other months copy just fine and not this single month?
Author
Owner

@youngcw commented on GitHub (Oct 18, 2024):

@psybers what happens if you switch to the envelope budget and add in a budget for October, then switch back to tracking and do the copy?

<!-- gh-comment-id:2422543374 --> @youngcw commented on GitHub (Oct 18, 2024): @psybers what happens if you switch to the envelope budget and add in a budget for October, then switch back to tracking and do the copy?
Author
Owner

@psybers commented on GitHub (Oct 18, 2024):

@youngcw Ohhhh fun. So if I do that, it copies the envelope's budget over and not the tracking budget!

<!-- gh-comment-id:2422680658 --> @psybers commented on GitHub (Oct 18, 2024): @youngcw Ohhhh fun. So if I do that, it copies the envelope's budget over and not the tracking budget!
Author
Owner

@youngcw commented on GitHub (Oct 18, 2024):

It does that in the edge deploy too. I don't know what would have broke that, or if its just some weird edge case that just happened to come out this month

<!-- gh-comment-id:2422689388 --> @youngcw commented on GitHub (Oct 18, 2024): It does that in the edge deploy too. I don't know what would have broke that, or if its just some weird edge case that just happened to come out this month
Author
Owner

@psybers commented on GitHub (Oct 18, 2024):

@youngcw Are you sure about that? If I load the demo budget on edge, enable tracking, set a tracking budget, then try to copy it seem to work as expected.

<!-- gh-comment-id:2422711625 --> @psybers commented on GitHub (Oct 18, 2024): @youngcw Are you sure about that? If I load the demo budget on edge, enable tracking, set a tracking budget, then try to copy it seem to work as expected.
Author
Owner

@youngcw commented on GitHub (Oct 18, 2024):

@youngcw Are you sure about that? If I load the demo budget on edge, enable tracking, set a tracking budget, then try to copy it seem to work as expected.

Thats how I knew to point it out to you

<!-- gh-comment-id:2422714863 --> @youngcw commented on GitHub (Oct 18, 2024): > @youngcw Are you sure about that? If I load the demo budget on edge, enable tracking, set a tracking budget, then try to copy it seem to work as expected. Thats how I knew to point it out to you
Author
Owner

@psybers commented on GitHub (Oct 18, 2024):

Oh interesting. It doesn't do it with the demo data, but it does it with my exported/imported data.

<!-- gh-comment-id:2422716134 --> @psybers commented on GitHub (Oct 18, 2024): Oh interesting. It doesn't do it with the demo data, but it does it with my exported/imported data.
Author
Owner

@youngcw commented on GitHub (Oct 18, 2024):

I recently merged in a copy template. Maybe try that. I don't think I tested it with the tracking budget, so it might do the same thing

<!-- gh-comment-id:2422745364 --> @youngcw commented on GitHub (Oct 18, 2024): I recently merged in a copy template. Maybe try that. I don't think I tested it with the tracking budget, so it might do the same thing
Author
Owner

@psybers commented on GitHub (Oct 18, 2024):

I'm not looking for a way to fix this single month in my own budget. As I mentioned, it is only November that has this problem. December seems to copy just fine. I can just manually copy over the values for a single month.

I'm just trying to figure out what the bug is so we can fix it, in case it occurs more frequently later on.

<!-- gh-comment-id:2422790561 --> @psybers commented on GitHub (Oct 18, 2024): I'm not looking for a way to fix this single month in my own budget. As I mentioned, it is *only* November that has this problem. December seems to copy just fine. I can just manually copy over the values for a single month. I'm just trying to figure out what the bug is so we can fix it, in case it occurs more frequently later on.
Author
Owner

@youngcw commented on GitHub (Oct 19, 2024):

can you try #3694 and see if it fixes your issue?

<!-- gh-comment-id:2424255012 --> @youngcw commented on GitHub (Oct 19, 2024): can you try #3694 and see if it fixes your issue?
Author
Owner

@psybers commented on GitHub (Oct 19, 2024):

@youngcw Bingo, that fixed it. Nice job!

<!-- gh-comment-id:2424259168 --> @psybers commented on GitHub (Oct 19, 2024): @youngcw Bingo, that fixed it. Nice job!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#15759