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]: Console error in Schedules page: RangeError: Invalid time value #2735

Open
2 tasks done
Brewno88 opened this issue May 9, 2024 · 8 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@Brewno88
Copy link

Brewno88 commented May 9, 2024

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?

Hi,

I'm not sure what I did to cause this bug so can't provide steps, but I hope the error below will give some hint of what it could be.
I was playing around with Schedules and Rules but now when trying to access the Schedules page I see it empty, when checking the console I see this error:
Screenshot 2024-05-09 at 16 17 33

This is what I see in Rules:
Screenshot 2024-05-09 at 16 35 18

I've been trying to delete the rule that I believe is connected to that schedule but I get "Some rules were not deleted because they are linked to schedules"

I hope this helps.

Where are you hosting Actual?

Docker

What browsers are you seeing the problem on?

Other

Operating System

Mac OSX

@Brewno88 Brewno88 added the bug Something isn't working label May 9, 2024
@Brewno88
Copy link
Author

Brewno88 commented May 9, 2024

I forgot to add the details of that rule which looks a bit unusual.

Screenshot 2024-05-09 at 16 43 06

@youngcw
Copy link
Contributor

youngcw commented May 9, 2024

did you delete a schedule? looks like the rule doesn't know what to link to

@Brewno88
Copy link
Author

Brewno88 commented May 9, 2024

Probably yeah. How can I either remove the rule or re-link it to the rule?

@youngcw
Copy link
Contributor

youngcw commented May 9, 2024

select the rule with its checkbox and you can delete it

@Brewno88
Copy link
Author

Brewno88 commented May 9, 2024

I tried but I get this alert:
Screenshot 2024-05-09 at 18 16 55

@youngcw
Copy link
Contributor

youngcw commented May 9, 2024

what if you remove the link schedule part of the rule?

@Brewno88
Copy link
Author

Brewno88 commented May 9, 2024

I can't!

I tried also that but is not clickable and also there is no - button as you can see from the screenshot
#2735 (comment)

@youngcw
Copy link
Contributor

youngcw commented May 9, 2024

hmm. I don't know then. You could either manually remove stuff from the db, or make a new file I think

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

2 participants