# Bug OP-6842 - Creating child task result in => An internal error has occured. super: no superclass method `hierarchy=' for #<Relation >

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

## Open points

_No work packages_

## Details

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

OpenProject Version: 10.4 / Cloud Edition

Downloaded (March 16, 2020) by: git clone --depth=1 --branch=stable/10 <https://github.com/opf/openproject>

Run in '~/openproject' directory using Docker with: docker-compose up -d

Operating System / Browser / Language: Ubuntu 18.04 LTS / firefox / English

**Logs**

No error in browser log

### **Steps to reproduce:**

1.  Download from github and start a new Docker compose container stack
2.  Use <http://localhost:8080/> and login as 'admin'
3.  Try to create a child task to any work package in any project

### **Actual Behavior**

Trying to create any type of hierarchical relation of TASK or PHASES result in the following error

**An internal error has occured. super: no superclass method \`hierarchy=' for \#\<Relation \>**

This has been tested on two different Ubuntu machines by two different users, same error shows up in both unaltered docker-compose stacks

### **Expected Behavior**

Being able to create child tasks
