# Bug OP-6574 - Child WP version cannot be edited although parent is no backlogs type

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 10.4.0 |
| Observed in versions | 10.2.0 |
| Sprint | 10.4.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 10.2.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**:

Your OpenProject Version: **OpenProject 10.3.0** (PostgreSQL)

Windows 10 / Firefox 71.0, Chrome 79/ Language: de

### **Logs**

No errors in browser console, No special warnings or errors in openproject's logs.

### **Steps to reproduce:**

1.  Enable Backlogs
2.  Create a parent WP with at least on child WP, all of type Task.
3.  Set a version for the parent. --\> The version should correctly be inherited by the children.
4.  Change the type of the parent to Phase 
5.  Remove the version from the parent --\> Child keeps its version.
6.  Try to change the version attribute of the child
7.  Error appears, that Version is locked

### **Actual Behavior**

  - When the version of the parent is removed, the child keeps its version.
  - Error appears, Version attribute cannot be changed.

### **Expected Behavior**

  - Removing the version of the parent should either be inherited by the children, or the children should be editable.
