[Bug]: Error when opening uncategorized transactions page #982

Closed
opened 2026-02-28 19:27:10 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @joel-jeremy on GitHub (Mar 11, 2024).

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?

Steps to reproduce:

  1. Add a new transaction with no category / edit an existing transaction to remove category
  2. Click on the n uncategorized transaction button on the top of the page

What error did you receive?

compiler.ts:440 Uncaught (in promise) oT: Field “category” does not exist in table “schedules”

Expression stack:
  $category
  {"category":{"$eq":null}}
  filter([
    {
      "$and": [
        {
          "_account.closed": false
        }
      ]
    },
    {
      "$or": [
        {
          "_account.offbudget": false,
          "category": null,
          "is_parent": false,
          "$or": [
            {
              "payee.transfer_acct.offbudget": true,
              "payee.transfer_acct": null
            }
          ]
        },
        {
          "_payee.transfer_acct.offbudget": false,
          "category": null,
          "is_parent": false,
          "$or": [
            {
              "payee.transfer_acct.offbudget": true,
              "payee.transfer_acct": null
            }
          ]
        }
      ]
    }
  ])

Where are you hosting Actual?

Fly.io

What browsers are you seeing the problem on?

Chrome, Other

Operating System

Windows 11

Originally created by @joel-jeremy on GitHub (Mar 11, 2024). ### 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? - [ ] 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? Steps to reproduce: 1. Add a new transaction with no category / edit an existing transaction to remove category 2. Click on the `n uncategorized transaction` button on the top of the page ### What error did you receive? ``` compiler.ts:440 Uncaught (in promise) oT: Field “category” does not exist in table “schedules” Expression stack: $category {"category":{"$eq":null}} filter([ { "$and": [ { "_account.closed": false } ] }, { "$or": [ { "_account.offbudget": false, "category": null, "is_parent": false, "$or": [ { "payee.transfer_acct.offbudget": true, "payee.transfer_acct": null } ] }, { "_payee.transfer_acct.offbudget": false, "category": null, "is_parent": false, "$or": [ { "payee.transfer_acct.offbudget": true, "payee.transfer_acct": null } ] } ] } ]) ``` ### Where are you hosting Actual? Fly.io ### What browsers are you seeing the problem on? Chrome, Other ### Operating System Windows 11
GiteaMirror added the regressionbug labels 2026-02-28 19:27:10 -06:00
Author
Owner

@joel-jeremy commented on GitHub (Mar 11, 2024):

Seems to be related to the change made in https://github.com/actualbudget/actual/pull/2447. Scheduled transactions are now showing up in uncategorized transactions page.

@joel-jeremy commented on GitHub (Mar 11, 2024): Seems to be related to the change made in https://github.com/actualbudget/actual/pull/2447. Scheduled transactions are now showing up in uncategorized transactions page.
Author
Owner

@MatissJanis commented on GitHub (Mar 12, 2024):

cc @psybers for visibility (but don't feel pressured to work on this)

@MatissJanis commented on GitHub (Mar 12, 2024): cc @psybers for visibility (but don't feel pressured to work on this)
Author
Owner

@psybers commented on GitHub (Mar 13, 2024):

Ah, yes. Both the demo data and my local data have 0 transactions as uncategorized, so I missed that case.

This does bring up a good point though: automated testing probably should have caught this. Probably need to look at the test suite and see if it can be extended to catch stuff like this.

Maybe the demo data should also be modified to include some uncategorized transactions? As it is, that feature is not being demo'd.

@psybers commented on GitHub (Mar 13, 2024): Ah, yes. Both the demo data and my local data have 0 transactions as uncategorized, so I missed that case. This does bring up a good point though: automated testing probably should have caught this. Probably need to look at the test suite and see if it can be extended to catch stuff like this. Maybe the demo data should also be modified to include some uncategorized transactions? As it is, that feature is not being demo'd.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#982