Skip to content

Release quick search creates invalid query #31643

@glensc

Description

@glensc

Environment

self-hosted (https://develop.sentry.dev/self-hosted/)

Version

21.12.0

Steps to Reproduce

  1. send message whose release is has semver compatible build metadata: 1.13.31.4+p221754.b2011653.gcfffef3a.sentry
  2. open message and click on it
  3. you will be redirected to search which says Invalid search terms for 'inbox' search: ['release=1.13.31.4+p221754.b2011653.gcfffef3a.sentry']
  4. the search filter itself is is:unresolved is:for_review assigned_or_suggested:[me, none] release:1.13.31.4+p221754.b2011653.gcfffef3a.sentry

Expected Result

The fix is simple, use double quotes when creating the search query:

is:unresolved is:for_review assigned_or_suggested:[me, none] release:"1.13.31.4+p221754.b2011653.gcfffef3a.sentry" 

Actual Result

✊🏿

image

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions