# Bug OP-6089 - When changing WP type in Gantt shadow WPs are shown

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 10.0.0 |
| Observed in versions | 10.5.0 |
| Sprint | 10.0.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 10.5.x |
| 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

### **Environment**:

qa.openproject-edge.com

Firefox 68.0.2 (64-bit)

### **Steps to reproduce:**

1.  Go to work package page (where work packages already exist).
2.  Change type of existing work package from non-milestone type to milestone type (optionally hover over Gantt after change).

### **Actual Behavior**

Already scheduled non-milestone work packages are briefly shown as milestones.

![](/api/v3/attachments/16113/content)

### **Expected Behavior**

Work packages don't change the way they are displayed.
