[GH-ISSUE #2405] [Bug]: Trailing whitespace in Schedule name causes budget template to not be applied #42614

Closed
opened 2026-04-26 02:38:25 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @LarsStegman on GitHub (Feb 29, 2024).
Original GitHub issue: https://github.com/actualbudget/actual/issues/2405

Verified issue does not already exist?

  • I have searched and found no existing issue
  • I have checked my server logs and could not see any errors there
  • I will be attaching my server logs to this issue
  • I will be attaching my client-side (browser) logs to this issue
  • I understand that this issue will be automatically closed if insufficient information is provided

What happened?

I created a schedule that accidentally had a trailing space as name "Wegenbelasting ". This caused the budget template

#template schedule Wegenbelasting

to not match and no money was budgeted.

What error did you receive?

No response

Where are you hosting Actual?

Docker

What browsers are you seeing the problem on?

Safari

Operating System

Mobile Device

Originally created by @LarsStegman on GitHub (Feb 29, 2024). Original GitHub issue: https://github.com/actualbudget/actual/issues/2405 ### Verified issue does not already exist? - [X] I have searched and found no existing issue ### Is this related to GoCardless, Simplefin or another bank-sync provider? - [X] I have checked my server logs and could not see any errors there - [X] I will be attaching my server logs to this issue - [X] I will be attaching my client-side (browser) logs to this issue - [X] I understand that this issue will be automatically closed if insufficient information is provided ### What happened? I created a schedule that accidentally had a trailing space as name "Wegenbelasting ". This caused the budget template ``` #template schedule Wegenbelasting ``` to not match and no money was budgeted. ### What error did you receive? _No response_ ### Where are you hosting Actual? Docker ### What browsers are you seeing the problem on? Safari ### Operating System Mobile Device
GiteaMirror added the goal templatesbug labels 2026-04-26 02:38:25 -05:00
Author
Owner

@Kidglove57 commented on GitHub (Feb 29, 2024):

I have had a similar issue. See: #2404. One with wrong capitalisation and the other with a leading space.

<!-- gh-comment-id:1971858188 --> @Kidglove57 commented on GitHub (Feb 29, 2024): I have had a similar issue. See: #2404. One with wrong capitalisation and the other with a leading space.
Author
Owner

@slimslickner commented on GitHub (Apr 4, 2024):

Hi all - I'm not sure if this should be reported as a separate issue, but I think it goes along nicely.

My understanding is that the Check templates functionality only validates the #template string parses correctly, not that the schedule actually exists. I think we could cover this issue by adding a validation to make sure any schedule included in a #template is a real, future dated, schedule.

Let me know if this should be created as a separate bug/feature!

<!-- gh-comment-id:2037274514 --> @slimslickner commented on GitHub (Apr 4, 2024): Hi all - I'm not sure if this should be reported as a separate issue, but I think it goes along nicely. My understanding is that the `Check templates` functionality only validates the `#template` string parses correctly, not that the schedule actually exists. I think we could cover this issue by adding a validation to make sure any schedule included in a `#template` is a real, future dated, schedule. Let me know if this should be created as a separate bug/feature!
Author
Owner

@youngcw commented on GitHub (Apr 26, 2024):

@LarsStegman Have you tried other browsers? I am not able to recreate this issue, but I don't have safari to try

<!-- gh-comment-id:2078581834 --> @youngcw commented on GitHub (Apr 26, 2024): @LarsStegman Have you tried other browsers? I am not able to recreate this issue, but I don't have safari to try
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#42614