[PR #1083] [MERGED] fix parser bug where by goals couldn't repeat on months/years >9 #3509

Closed
opened 2026-02-28 20:42:41 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/1083
Author: @youngcw
Created: 6/1/2023
Status: Merged
Merged: 6/1/2023
Merged by: @j-f1

Base: masterHead: repeat_greater_9_units


📝 Commits (2)

  • c4deb05 fix parser bug where by goals couldn't repeat on months/years >9
  • c0204e9 release note

📊 Changes

2 files changed (+9 additions, -2 deletions)

View changed files

📝 packages/loot-core/src/server/budget/goal-template.pegjs (+3 -2)
upcoming-release-notes/1083.md (+6 -0)

📄 Description

Fix bug brought up in discord where #template $100 by 2023-06 repeat every 12 months would fail.

The parser was looking for a single digit so would max out at 9.

I added a new value to the parser "positive" that allows any number larger than 0, and used that for the by goals.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/1083 **Author:** [@youngcw](https://github.com/youngcw) **Created:** 6/1/2023 **Status:** ✅ Merged **Merged:** 6/1/2023 **Merged by:** [@j-f1](https://github.com/j-f1) **Base:** `master` ← **Head:** `repeat_greater_9_units` --- ### 📝 Commits (2) - [`c4deb05`](https://github.com/actualbudget/actual/commit/c4deb05ebcbeb0e58ebe155f28772dad4ef2b3f8) fix parser bug where by goals couldn't repeat on months/years >9 - [`c0204e9`](https://github.com/actualbudget/actual/commit/c0204e97929f056131a47c784f9332ca86284447) release note ### 📊 Changes **2 files changed** (+9 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `packages/loot-core/src/server/budget/goal-template.pegjs` (+3 -2) ➕ `upcoming-release-notes/1083.md` (+6 -0) </details> ### 📄 Description Fix bug brought up in discord where `#template $100 by 2023-06 repeat every 12 months` would fail. The parser was looking for a single digit so would max out at 9. I added a new value to the parser "positive" that allows any number larger than 0, and used that for the by goals. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-02-28 20:42:41 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#3509