Content
View differences
Updated by Eric Schubert over 2 years ago
### Before filing a report
### Steps to reproduce
1. Have a OneDrive storage connected to a project
2. Select project in drop down
### What is the buggy behavior?
* If the request to graph.microsoft.com fails, the app crashes
### What is the expected behavior?
1. The app should start.
### Important note
* This happens, because the construction of the project menu needs an outbound request, if storage provider type is `OneDrive/Sharepoint`
* There is another consequence, the project menu link to storage does not work, if user is not logged in
* **For Testing:**
* before: deleting the access token of the linked Sharepoint storage will make the storage link in the project menu useless
* after: deleting the access token will now lead to an error page, as the href will return a `not found`
### Screenshots and other files
<img class="op-uc-image op-uc-image_inline" style="width:665px;" src="/attachments/72515/Screenshot_from_2023-10-16_14-31-58.png">
### Environment information
**OpenProject installation type**
* [ ] Hosted cloud edition
* [ ] Packaged installation
* What distribution?
* [ ] Docker All-in-one container
* [x] Docker-compose installation
* [ ] Other (please specify)
### Steps to reproduce
1. Have a OneDrive storage connected to a project
2. Select project in drop down
### What is the buggy behavior?
* If the request to graph.microsoft.com fails, the app crashes
### What is the expected behavior?
1. The app should start.
### Important note
* This happens, because the construction of the project menu needs an outbound request, if storage provider type is `OneDrive/Sharepoint`
* There is another consequence, the project menu link to storage does not work, if user is not logged in
* **For Testing:**
* before: deleting the access token of the linked Sharepoint storage will make the storage link in the project menu useless
* after: deleting the access token will now lead to an error page, as the href will return a `not found`
### Screenshots and other files
<img class="op-uc-image op-uc-image_inline" style="width:665px;" src="/attachments/72515/Screenshot_from_2023-10-16_14-31-58.png">
### Environment information
**OpenProject installation type**
* [ ] Hosted cloud edition
* [ ] Packaged installation
* What distribution?
* [ ] Docker All-in-one container
* [x] Docker-compose installation
* [ ] Other (please specify)