Feature Request: sap.m.upload.Uploader - add error event upon failed uploads
See original GitHub issueCurrently, sap.m.upload.Uploader
will always trigger uploadComplete
event regardless of the returned status code. Can please provide any means to identify whether the upload was successful or not?
Code from Uploader.prototype.uploadItem:
oXhr.onreadystatechange = function() {
var oHandler = that._mRequestHandlers[oItem.getId()];
if (this.readyState === window.XMLHttpRequest.DONE && !oHandler.aborted) {
that.fireUploadCompleted({
item: oItem
});
}
};
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Error when uploading file - SAP Community
Hi all, we just have upgraded our EREC system to Enhancement Package 4, and we have now lot's of issues when the candidates...
Read more >Unable to perform file upload with sap.ui.unified.FileUploader
Hi Experts, I am trying to implement File upload functionality in SAPUI5 in my UI5 project. I am using FileUploader control for achieving...
Read more >How can i fix uploading problem - SAP Community
I want to use uploadcollection for muliple attachment. however I got error to attach files... error message said "Failed to load resource: the ......
Read more >SAPUI5 Upload error | SAP Community
Here is my working code for file uploader, have a look. Regards. Ugur. onAttach : function(oEvent){. var sGuid = this._sGuid;. var oUploadDialog ...
Read more >Extending Upload Collection and File Uploader to call PUT ...
Let me first explain the requirement. In many SAP document management system, the document content is uploaded against an SAP object.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @jcailan , Thank you for sharing your enhancement proposal. I’ve created an internal incident 2180423858. The status of the issue will be updated here in GitHub. Regards, Florian
Fixed with 0ae3992a09d3f2b03c1df5ae5730fe5c8d765d97 and available as of 1.98.0.