# Bug OP-13416 - Copying projects with Nextcloud project folders does not recreate file links to folders

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module |  |
| Target versions | 13.0.5 |
| Observed in versions | 13.0.0 |
| Sprint | 13.0.5 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 13.0.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

### Steps to reproduce

1.  Create a project with a automatically managed Nextcloud project folder. Make sure that the current user has passed the OAuth connection to Nextcloud. 
2.  Verify that the project folder is created in Nextcloud
3.  In Nextcloud within the project folder create another folder &quot;My folder&quot; 
4.  In a work package of that project create a file link to &quot;My folder&quot;
5.  Copy the project

### What is the buggy behavior?

*   The project copy job has an error stating that not all file links got created.
*   The copied work package does not have a file link to the copy of &quot;My folder&quot;

### What is the expected behavior?

1.  The project copy job does not show any errors
2.  The copied work package has a link to the copy of &quot;My folder&quot;
