# Bug OP-14995 - Waiting modal doesn't time out

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

## Open points

| ID | Subject | Type | Status | Assignee | Project |
| --- | --- | --- | --- | --- | --- |
| OP-14998 | What kind of icon should we use instead of the waiting spinner? | Open Point | resolved | Wieland Lindenthal | OpenProject |

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 14.1.1 |
| Observed in versions | 14.0.0 |
| Sprint | 14.1.1 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 14.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 | Pavel Balashou |
| Product manager |  |
| Developers | OP Dev Titan Team |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

The reproduction on a healthy environment should not be possible. You need a setup where you can stop the background workers.

1.  Make sure your background workers are stopped so that no project folders get setup

2.  Login as admin so that you have all permissions.

3.  If you don't have a file storage integrated (e.g. Nextcloud or SharePoint) yet, do so. 

4.  Enable "Automatically managed folders" on that file storage.

5.  Create a new project

6.  Add the file storage to the project enabling "Automatically managed project folders"

7.  In the project's menu on the left hand side there should be a menu item for opening the storage. Click it.

8.  A page is rendered having a modal that asks you to wait until the project folder is setup

### What is the buggy behavior?

  - The modal never closes and gives the impression that something will happen

  - It currently requests the file storage every 2? seconds and uses network and server capacity indefinately

### What is the expected behavior?

1.  After a certain time, e.g. 2 min, the modal stops polling

2.  It shows a message: "OpenProject could not provide you access to the project folder within the expected period of time. Please, try once again.
    
    If that problem persists please contact you OpenProject administrator to check the [health status of the file storage setup](https://www.openproject.org/docs/system-admin-guide/files/external-file-storages/file-storage-troubleshooting/)."

###
