# Bug SPAR-232 - 'Related to' relations is added when user adds any other type of relations

Project: Stream Planning and Reporting
Status: closed
URL: https://community.openproject.org/work_packages/SPAR-232

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 15.5.1 |
| Observed in versions | 15.5.0 |
| Bug found in version (deprecated) | 15.5.x |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

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

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  Go to <https://qa.openproject-edge.com/projects/test-project-cecile/work_packages/10542/relations>

2.  Add any ticket as any relation type except 'Related to'

### What is the buggy behaviour?

  - Relation is added in the correct section as well as under 'Related to'

  - User can't delete the relation in 'Related to'

### What is the expected behaviour?

1.  Relation is added to the correct section

2.  Relation is not added to 'Related to'

### 

### Screenshots and other files

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/388054/content">

### Environment information

**OpenProject version**

Core build

[b508cb6781321a88b587f720ee1077f49c19bca6](https://github.com/opf/openproject/commits/b508cb6781321a88b587f720ee1077f49c19bca6)

Product version

[4b55c8485559fa6ad277e54aea2b97536297836d](https://github.com/opf/saas-openproject/commits/4b55c8485559fa6ad277e54aea2b97536297836d)

Core version

OpenProject 15.5.0

**Browser**

- [ ] Chrome
- [x] Firefox
- [ ] Safari
- [ ] Mobile Safari
- [ ] Other (please specify)

**Operating System**

- [x] Windows
- [ ] Mac OS X
- [ ] Mobile iOS
- [ ] Mobile Android
- [ ] Linux (please specify distro)
- [ ] Chrome OS
- [ ] Other (please specify)

**Language**

<br>
