Content
View differences
Updated by Jan Sandbrink 3 months ago
###
###
### Preconditions:
* Nextcloud storage configured in OpenProject
*
OP user is a member of a Project and a Project Admin
* **For an unrelated project the folder creation fails already** (as indicated by storage error messages for AMPF)
### Steps to reproduce
1. Login to the OP
2. Go to the project where this user a Project Admin
3. Go to Project Settings - Files
4. Configure new AMPF storage for Nextcloud
### What is the buggy behavior?
After configuring Nextcloud storage it is expected that a Folder with the Project name is created in Nextcloud. But it is NOT created so it blocks uploading files.
### What is the expected behavior?
_After setting AMPF Nextcloud storage, Project folder is created_
###
<br>
### **Logs**
_When user tries to upload a file the following request is performed_
curl 'https://qa.openproject-stage.com/undefined'
\--compressed
\-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:148.0) Gecko/20100101 Firefox/148.0'
\-H 'Accept: application/json, text/plain, /'
\-H 'Accept-Language: en-US,en;q=0.9'
\-H 'Accept-Encoding: gzip, deflate, br, zstd'
\-H 'Referer: https://qa.openproject-stage.com/projects/ihor/work\_packages/11154/files'
\-H 'X-Requested-With: XMLHttpRequest' \\
\-H 'Sec-GPC: 1'
\-H 'Connection: keep-alive'
\-H 'Cookie:
\-H 'Sec-Fetch-Dest: empty'
\-H 'Sec-Fetch-Mode: cors'
\-H 'Sec-Fetch-Site: same-origin'
\-H 'TE: trailers'
### Screenshots and other files
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/919625/content">
Folder for project Ihor AMPF was not created:
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/919626/content">
<br>
### Environment information
<br>
**OpenProject installation type**
[https://qa.openproject-stage.com/](https://qa.openproject-stage.com/)
[https://nextcloud.openproject-stage.eu](https://nextcloud.openproject-stage.eu/)
<br>
**OpenProject version**
_17.2.0_
**Browser**
* [ ] Chrome
* [x] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Operating System**
* [ ] Windows
* [x] Mac OS X
* [ ] Mobile iOS
* [ ] Mobile Android
* [ ] Linux (please specify distro)
* [ ] Chrome OS
* [ ] Other (please specify)
**Language**
_English_
###
### Preconditions:
* Nextcloud storage configured in OpenProject
*
* **For an unrelated project the folder creation fails already** (as indicated by storage error messages for AMPF)
1. Login to the OP
2. Go to the project where this user a Project Admin
3. Go to Project Settings - Files
4. Configure new AMPF storage for Nextcloud
### What is the buggy behavior?
After configuring Nextcloud storage it is expected that a Folder with the Project name is created in Nextcloud. But it is NOT created so it blocks uploading files.
### What is the expected behavior?
_After setting AMPF Nextcloud storage, Project folder is created_
###
<br>
### **Logs**
_When user tries to upload a file the following request is performed_
curl 'https://qa.openproject-stage.com/undefined'
\--compressed
\-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:148.0) Gecko/20100101 Firefox/148.0'
\-H 'Accept: application/json, text/plain, /'
\-H 'Accept-Language: en-US,en;q=0.9'
\-H 'Accept-Encoding: gzip, deflate, br, zstd'
\-H 'Referer: https://qa.openproject-stage.com/projects/ihor/work\_packages/11154/files'
\-H 'X-Requested-With: XMLHttpRequest' \\
\-H 'Sec-GPC: 1'
\-H 'Connection: keep-alive'
\-H 'Cookie:
\-H 'Sec-Fetch-Dest: empty'
\-H 'Sec-Fetch-Mode: cors'
\-H 'Sec-Fetch-Site: same-origin'
\-H 'TE: trailers'
### Screenshots and other files
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/919625/content">
Folder for project Ihor AMPF was not created:
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/919626/content">
<br>
### Environment information
<br>
**OpenProject installation type**
[https://qa.openproject-stage.com/](https://qa.openproject-stage.com/)
[https://nextcloud.openproject-stage.eu](https://nextcloud.openproject-stage.eu/)
<br>
**OpenProject version**
_17.2.0_
**Browser**
* [ ] Chrome
* [x] Firefox
* [ ] Safari
* [ ] Mobile Safari
* [ ] Other (please specify)
**Operating System**
* [ ] Windows
* [x] Mac OS X
* [ ] Mobile iOS
* [ ] Mobile Android
* [ ] Linux (please specify distro)
* [ ] Chrome OS
* [ ] Other (please specify)
**Language**
_English_