[GH-ISSUE #5175] [Bug]: Error: Field “$oneof” does not exist in table “categories” when applying templates #51331

Closed
opened 2026-04-30 17:35:45 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @trevordavies095 on GitHub (Jun 16, 2025).
Original GitHub issue: https://github.com/actualbudget/actual/issues/5175

Verified issue does not already exist?

  • I have searched and found no existing issue

What happened?

I'm trying to apply template to one of my category groups, and I get the message Something internally went wrong. You may want to restart the app if anything looks wrong. Please report this as a new issue on Github

The DevTools stacktrace is below

[Exception] Error: Field “$oneof” does not exist in table “categories”

Expression stack:
  $$oneof
  {"$oneof":"755bf305-349a-47ae-baa3-08f7512807e6"}
  filter({
    "$oneof": [
      "755bf305-349a-47ae-baa3-08f7512807e6",
      "8cc0d159-955d-447b-ad35-a2e6ed758c17",
      "ed9989e5-27a9-4f09-8e1f-d6509f1816b1",
      "738050c8-f7ca-45bd-be5b-820e60a7a462",
      "6d7222c1-9718-40b0-9bb3-4bdbabba3de3",
      "be212b25-8c68-4bdc-b6c9-5f1aa9798719",
      "e926992d-a458-49b5-860d-2ccbab7db903",
      "c1911a11-c8ee-4208-9e95-9ff4509c7db0",
      "82eaf657-f7fb-4e5b-a26e-ac352a184da5"
    ]
  })

Applying budget templates to the entire budget for that month works as expected, it's only when you apply template to one specific category does this happen.

How can we reproduce the issue?

Go a month ahead, Apply budget template to one specific category group.

Where are you hosting Actual?

Docker

What browsers are you seeing the problem on?

Firefox

Operating System

Mac OSX

Originally created by @trevordavies095 on GitHub (Jun 16, 2025). Original GitHub issue: https://github.com/actualbudget/actual/issues/5175 ### Verified issue does not already exist? - [x] I have searched and found no existing issue ### What happened? I'm trying to apply template to one of my category groups, and I get the message `Something internally went wrong. You may want to restart the app if anything looks wrong. Please report this as a new issue on Github` The DevTools stacktrace is below ``` [Exception] Error: Field “$oneof” does not exist in table “categories” Expression stack: $$oneof {"$oneof":"755bf305-349a-47ae-baa3-08f7512807e6"} filter({ "$oneof": [ "755bf305-349a-47ae-baa3-08f7512807e6", "8cc0d159-955d-447b-ad35-a2e6ed758c17", "ed9989e5-27a9-4f09-8e1f-d6509f1816b1", "738050c8-f7ca-45bd-be5b-820e60a7a462", "6d7222c1-9718-40b0-9bb3-4bdbabba3de3", "be212b25-8c68-4bdc-b6c9-5f1aa9798719", "e926992d-a458-49b5-860d-2ccbab7db903", "c1911a11-c8ee-4208-9e95-9ff4509c7db0", "82eaf657-f7fb-4e5b-a26e-ac352a184da5" ] }) ``` Applying budget templates to the entire budget for that month works as expected, it's only when you apply template to one specific category does this happen. ### How can we reproduce the issue? Go a month ahead, Apply budget template to one specific category group. ### Where are you hosting Actual? Docker ### What browsers are you seeing the problem on? Firefox ### Operating System Mac OSX
GiteaMirror added the bug label 2026-04-30 17:35:45 -05:00
Author
Owner

@trevordavies095 commented on GitHub (Jun 16, 2025):

Sorry, dupe of https://github.com/actualbudget/actual/issues/5103

<!-- gh-comment-id:2974895970 --> @trevordavies095 commented on GitHub (Jun 16, 2025): Sorry, dupe of https://github.com/actualbudget/actual/issues/5103
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#51331