Skip to content

Tips to help devs fix bugs

damontecres edited this page Sep 11, 2024 · 3 revisions

This page outlines some methods for gathering debug data if something something is not working.

A saved filter doesn't work

When selecting a saved filter, if an error like Error with filter <id>! Probably a bug: <details> appears. This is likely a bug in the filter parsing code.

To help debug this:

  1. Write down the "id" which should be a number (eg 3 or 16)
  2. Go to your server's playground at <stash-url>:<port>/playground (eg http://192.168.1.69:9999/playground)
  3. Run this query, replacing <id> with the ID from step 1:
query SavedFilter {
  findSavedFilter(id: <id>) {
    id
    mode
    find_filter {
      q
      sort
      direction
    }
    object_filter
  }
}
  1. Open an bug report and include the output from step 3
Clone this wiki locally