# Bug OP-8024 - 500er server error when opening query

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-8024

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module |  |
| Target versions | 11.1.0 |
| Observed in versions |  |
| Sprint | 11.1.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

[https://stadt-koeln.openproject-edge.com/projects/field-test-cproject/work\_packages?query\_id=831](https://stadt-koeln.openproject-edge.com/projects/field-test-cproject/work_packages?query_id=831)

It seems to be related to the activation of sums for this query:

# Steps to reproduce:

1.  Go to this [project](https://stadt-koeln.openproject-edge.com/projects/field-test-cproject/work_packages): 
2.  Filter for Work package Type &quot;Budgetposition&quot;
3.  Group by &quot;Budgettyp&quot;
4.  Add columns Plankosten 2020, Plankosten 2021 und Plankosten 2022.
5.  Activate Sums
6.  Reload
