# Bug OP-1597 - Duplicate shared queries lead to internal server errors upon menu rendering

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 3.0.13 |
| Observed in versions |  |
| Sprint | 3.0.13 |
| 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

It is possible to create work package filter queries with identical names. If a user decides to enable menu entries for identical queries they will effectively lock themselves out of the associated project. This is because every subsequent try of rendering the project’s menu will result in an internal server error.

![](child-already-added.png)

This affects the core in versions 3.x as well as 4.x.
