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]: Trailing whitespace in Schedule name causes budget template to not be applied #2405

Open
5 tasks done
LarsStegman opened this issue Feb 29, 2024 · 3 comments
Open
5 tasks done
Labels
bug Something isn't working goal templates Related to the experimental goal templates feature

Comments

@LarsStegman
Copy link

Verified issue does not already exist?

  • I have searched and found no existing issue

Is this related to GoCardless, Simplefin or another bank-sync provider?

  • 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

@LarsStegman LarsStegman added the bug Something isn't working label Feb 29, 2024
@Kidglove57
Copy link

Kidglove57 commented Feb 29, 2024

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

@joel-jeremy joel-jeremy added the goal templates Related to the experimental goal templates feature label Mar 4, 2024
@slimslickner
Copy link

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!

@youngcw
Copy link
Contributor

youngcw commented 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 up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working goal templates Related to the experimental goal templates feature
Projects
None yet
Development

No branches or pull requests

5 participants