Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Schedule fatal error #3989

Open
2 tasks done
ArmandoAmmar opened this issue Dec 15, 2024 · 2 comments
Open
2 tasks done

[Bug]: Schedule fatal error #3989

ArmandoAmmar opened this issue Dec 15, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@ArmandoAmmar
Copy link

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 tried to create a Schedule to get all month days to see if I receive the correct amount of money, but when I tried this, i got a error for schedule, and this error blocked me to use the system.

TypeError: Cannot read properties of null (reading 'num1') at IC (app://actual/static/js/index.rtiWlUvs.js:98:43758) at g9 (app://actual/static/js/index.rtiWlUvs.js:263:90084) at kk (app://actual/static/js/index.rtiWlUvs.js:57:19539) at BM (app://actual/static/js/index.rtiWlUvs.js:59:44045) at MM (app://actual/static/js/index.rtiWlUvs.js:59:39777) at iW

Where are you hosting Actual?

Desktop App (Electron)

What browsers are you seeing the problem on?

Desktop App (Electron)

Operating System

Windows 10

@ArmandoAmmar ArmandoAmmar added the bug Something isn't working label Dec 15, 2024
@matt-fidd
Copy link
Contributor

Did you delete the amount in the rules page?

It should look something like this, if there isn't an amount you'll need to add it back
image

@fred777
Copy link

fred777 commented Dec 20, 2024

Same for me! Added a couple of additional days to a monthly schedule so there way 4 days in total.

When I try to view the transaction table for the related account it crashed.

And I cannot edit the schedule anymore because it will crash the same way as soon as I want to display the schedules page.

image

Using desktop version for Archlinux, i.e. aur/actual-appimage v24.12.0-2

This is the related schedule obtained directly from v_schedules view:

_date field:

{"start":"2024-01-24","interval":1,"frequency":"monthly","patterns":[{"value":18,"type":"day"},{"value":20,"type":"day"},{"value":24,"type":"day"},{"value":26,"type":"day"}],"skipWeekend":false,"weekendSolveMode":"after","endMode":"never","endOccurrences":1,"endDate":"2024-12-20"}```

_conditions field:

[{"op":"is","field":"acct","value":"500b1d34-899f-49db-a582-71676d2ad61e","type":"id"},{"op":"is","field":"description","value":"dc898325-de24-45bd-a95f-f9d92835f220","type":"id"},{"op":"isapprox","field":"date","value":{"start":"2024-01-24","interval":1,"frequency":"monthly","patterns":[{"value":18,"type":"day"},{"value":20,"type":"day"},{"value":24,"type":"day"},{"value":26,"type":"day"}],"skipWeekend":false,"weekendSolveMode":"after","endMode":"never","endOccurrences":1,"endDate":"2024-12-20"},"type":"date"},{"op":"gt","field":"amount","value":150000,"type":"number"}]

_actions field:

[{"op":"link-schedule","field":null,"value":"c94196bf-406b-4b1b-8bef-c89adaa009f7","type":"id"}]

=> maybe the "field":null is the culprit??????

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants