actualbudget / actualbudget/actual

[Bug]: Inconsistent Weekly Transactions

Offen
#4,981 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
28.7k
Forks
3k
Ø Merge
2 T. 11 Std.
Gemergte PRs (30 T.)
65

Beschreibung

### Verified issue does not already exist?

- [x] I have searched and found no existing issue

### What happened?

I get paid weekly and have several scheduled transactions set to auto-post fixed amounts. I've created a weekly schedule for these, but when I reconcile at the end of the month, usually only one or two transactions out of an expected 4 or 5 have posted.

The schedule view shows upcoming transactions as expected, but by the next reconciliation I perform, only the first of those has posted. The others have disappeared from both the schedule display and the ledger entirely.

Each month I re-enter the missing transactions manually and reassign them to the schedule. This seems to reset the schedule into a working state, allowing one new transaction to post before the issue reoccurs.

I've investigated the repo a bit, though I really only know Python and had to rely on LLMs for help with syntax. I suspect the problem lies with the `next_date` not advancing correctly. This would explain why after a manual intervention I get one successful post, as linking transactions likely causes a successful update to the `next_date`, but then it makes an automatic posting, fails the process on that end, and the failure loop restarts.

I had mentioned in [issue #4705](https://github.com/actualbudget/actual/issues/4705), using "Post Transaction Today" duplicated the last transaction instead of posting the upcoming one. The linked commit [91c0eb5](https://github.com/Bhautik2902/actual/commit/91c0eb51e7ec72be367a06fe938c628126570f1a) fixed the issue by moving from `next_date` to `current_date`, so this supports my suspicion that `next_date` is failing to advance.

I’d like to gather more evidence to try and narrow down the failure, but the Docker implementation seems to setup logging at the `info` level by default, and I’m unsure how to increase the log verbosity. I have the docker implemented through UnRaid.

I also feel I should mention that all of my monthly scheduled transactions seem to work fine, this issue seems to be specifically tied to weekly schedules.

### How can we reproduce the issue?

I don't think I'm doing anything abnormal in setting things up, so I'd suggest creating a weekly schedule with auto-posting turned on. Allow it to progress through a month with no interventions, and then look to see if any are missing.

### Where are you hosting Actual?

Docker

### What browsers are you seeing the problem on?

Firefox

### Operating System

Linux

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.