Content
View differences
### Steps to reproduce
1. In `Nextcloud`, setup `integration_openproject` with `OAuth`.
2. Connect the `Nextcloud` admin with an `OpenProject` admin.
3. In `OpenProject`, navigate to `Project settings > Files` of the `Demo Project` and add a file storage of type `Nextcloud`.
4. In `Nextcloud`, select a file and navigate to sidebar `OpenProject` tab.
5. Search for any of the work packages in the `Demo Project`.
### What is the buggy behavior?
* When searching for a work package from the sidebar `OpenProject` tab in `Nextcloud`, the browser sends a `GET` request to [`https://nextcloud.local/ocs/v2.php/apps/user_status/api/v1/statuses/OpenProject%20Admin`](https://nextcloud.local/ocs/v2.php/apps/user_status/api/v1/statuses/OpenProject%20Admin) and the request returns a `404` response.
<br>
Request:
```bash
GET https://nextcloud.local/ocs/v2.php/apps/user_status/api/v1/statuses/OpenProject%20Admin
```
* Response:
```json
{
"ocs": {
"meta": {
"status": "failure",
"statuscode": 404,
"message": "No status for the requested userId"
},
"data": []
}
}
```
### What is the expected behavior?
* `404` error should not be seen
### Environment information
integration\_openproject `3.1.0`
nextcloud `34`
**OpenProject installation type**
* Docker-compose installation
**OpenProject version**
_If you're not running on the cloud edition, please specify the version of OpenProject you're running. Example: v12.1.5_
<br>
### **Notes for QA:**
This fix needs to be tested on Nextcloud 32, 31, and 30.
<br>
**Browser**
* [x] Chrome
* [ ] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Operating System**
* [ ] Windows
* [ ] Mac OS X
* [ ] Mobile iOS
* [ ] Mobile Android
* [x] Linux (please specify distro)
* [ ] Chrome OS
* [ ] Other (please specify)
1. In `Nextcloud`, setup `integration_openproject` with `OAuth`.
2. Connect the `Nextcloud` admin with an `OpenProject` admin.
3. In `OpenProject`, navigate to `Project settings > Files` of the `Demo Project` and add a file storage of type `Nextcloud`.
4. In `Nextcloud`, select a file and navigate to sidebar `OpenProject` tab.
5. Search for any of the work packages in the `Demo Project`.
### What is the buggy behavior?
* When searching for a work package from the sidebar `OpenProject` tab in `Nextcloud`, the browser sends a `GET` request to [`https://nextcloud.local/ocs/v2.php/apps/user_status/api/v1/statuses/OpenProject%20Admin`](https://nextcloud.local/ocs/v2.php/apps/user_status/api/v1/statuses/OpenProject%20Admin) and the request returns a `404` response.
<br>
Request:
```bash
GET https://nextcloud.local/ocs/v2.php/apps/user_status/api/v1/statuses/OpenProject%20Admin
```
* Response:
```json
{
"ocs": {
"meta": {
"status": "failure",
"statuscode": 404,
"message": "No status for the requested userId"
},
"data": []
}
}
```
### What is the expected behavior?
* `404` error should not be seen
### Environment information
integration\_openproject `3.1.0`
nextcloud `34`
**OpenProject installation type**
* Docker-compose installation
**OpenProject version**
_If you're not running on the cloud edition, please specify the version of OpenProject you're running. Example: v12.1.5_
<br>
### **Notes for QA:**
This fix needs to be tested on Nextcloud 32, 31, and 30.
<br>
**Browser**
* [x] Chrome
* [ ] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Operating System**
* [ ] Windows
* [ ] Mac OS X
* [ ] Mobile iOS
* [ ] Mobile Android
* [x] Linux (please specify distro)
* [ ] Chrome OS
* [ ] Other (please specify)