Content
View differences
Updated by Markus Kahl almost 6 years ago
### **Steps to reproduce:**
1. Go to a work package on a openproject-edge.com instance
2. Try to upload a large file (say 2GB)
### **Actual Behavior**
"An internal error has occured" is displayed.

### **Expected Behavior**
The error message returned by the API call should be shown just like it happens for normal uploads.
## Relevant spots in code
1. [https://github.com/opf/openproject/blob/dev/frontend/src/app/modules/hal/resources/mixins/attachable-mixin.ts#L178](https://github.com/opf/openproject/blob/dev/frontend/src/app/modules/hal/resources/mixins/attachable-mixin.ts#L178)
2. [https://github.com/opf/openproject/blob/dev/frontend/src/app/components/api/op-file-upload/op-direct-file-upload.service.ts#L50](https://github.com/opf/openproject/blob/dev/frontend/src/app/components/api/op-file-upload/op-direct-file-upload.service.ts#L50)
1. Go to a work package on a openproject-edge.com instance
2. Try to upload a large file (say 2GB)
### **Actual Behavior**
"An internal error has occured" is displayed.

### **Expected Behavior**
The error message returned by the API call should be shown just like it happens for normal uploads.
## Relevant spots in code
1. [https://github.com/opf/openproject/blob/dev/frontend/src/app/modules/hal/resources/mixins/attachable-mixin.ts#L178](https://github.com/opf/openproject/blob/dev/frontend/src/app/modules/hal/resources/mixins/attachable-mixin.ts#L178)
2. [https://github.com/opf/openproject/blob/dev/frontend/src/app/components/api/op-file-upload/op-direct-file-upload.service.ts#L50](https://github.com/opf/openproject/blob/dev/frontend/src/app/components/api/op-file-upload/op-direct-file-upload.service.ts#L50)