# Feature OP-11853 - Save the "trashed" state of linked files in OpenProject's cache

Project: OpenProject
Status: rejected
URL: https://community.openproject.org/work_packages/OP-11853

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | Wish List |
| Sprint |  |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**As** a user that is not(!) connected to Nextcloud  
**I do not want to** see links to files that were moved to the trash bin in Nextcloud   
**so that** I do not get the wrong impression that the files are still around.

**Acceptance criteria**

*   Link a file to a work package
*   In Nextcloud, move the file to trash bin
*   Reload the work package with the _Files_ tab open. You will not see the link the file anymore.
*   Disconnect from Nextcloud by revoking your OAuth token in _My account --&gt; Access tokens_
*   Reload the work package from above. You will still not see the link to the file anymore.
*   Get the file back from the trash bin (bring it back)
*   Now, the disconnected user will still not see the linked file after reloading the work package.
*   Connect your Nextcloud account to OpenProject again.
*   Reload the work package. You should see the file link again(!).
