Skip to content

Filtering findings by "Test name" results in internal server error #14160

@AndreyMZ

Description

@AndreyMZ

Steps to reproduce

  1. Log in to DefectDojo: https://demo.defectdojo.org/
  2. Switch on Filter String Matching Optimization:
    1. Go to Configuration -> System Settings.
    2. Switch on Filter String Matching Optimization.
    3. Click Submit.
  3. Go to Products -> All Products -> any product with findings -> Findings -> View All Findings.
  4. Set the filter "Test Name" or "Test name Contains" to something, e.g., foo.
    E.g.: https://demo.defectdojo.org/product/1/finding/open?test__name=foo
  5. Click Apply Filters.

Actual result

500 Internal Server Error

Expected behavior

No errors.

Root cause

https://github.com/search?type=code&q=repo%3ADefectDojo%2Fdjango-DefectDojo%20test__name

Additional information

Deployment method (select with an X)

  • Docker Compose
  • Kubernetes
  • GoDojo

Environment information

  • Operating System: any
  • Docker Compose or Helm version: any
  • DefectDojo version: 2.54.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions