# Bug OP-10018 - Teamplanner crashes when dropping a wp from the add existing pane

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

## Open points

_No work packages_

## Details

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

Maybe related to <mention class="mention" data-id="41317" data-type="work_package" data-text="#41317">\#41317</mention>   
**Steps to reproduce:**

1.  Create a new milestone
2.  Go to teamplanner, open the add existing pane
3.  Move the milestone to one of the assignees
4.  An error occurs:

<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/29652/content"></div></figure>

5\. Move the milestone to the team planner again

### **Actual Behavior**

The team planner crashes with a  weird visual glitch:

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/29653/content"></div></figure>

### **Expected Behavior**

The team planner continues working, and just shows the same error as before when contacting the API
