own branch. (fix-3)
However, the error stack is the same as what is in develop.
new qq.s3.FineUploaderBasic({
core: {
maxConnections: 2
},
request: {
endpoint: 'http://my-endpoint',
accessKey: 'my-access-key'
},
signature: {
endpoint: 'https://my-endpoint',
version: 4,
useWorker: true
},
retry: {
enableAuto: true,
maxAutoAttempts: 3,
autoAttemptDelay: 2
},
chunking: {
enabled: true,
concurrent: {
enabled: true
}
},
cors: {
expected: true
},
objectProperties: {
region: 'some-region',
bucket: 'somebucket',
key(fileId) {
var file = uploader.getFile(fileId);
return file.s3key;
}
},
callbacks: {
onSubmit(fileId, fileName) {
// determine proper id and return promise.
},
onAutoRetry(fileId, fileName, attemptNumber) {
// ui stuff
},
onManualRetry(fileId, fileName) {
// ui stuff
},
onProgress(fileId, fileName, uploadBytes, totalBytes) {
// record progress
},
onComplete(fileId, fileName, responseJson, xhr) {
// do ui stuff
},
onError() {
// do ui stuff and manual rety stuff
},
onCancel() {
// do ui stuff
}
}
});
Here's what I think is happening, but haven't written to the code to test it yet.
I will look into a fix for this.. just wanted to document it so I can come back to it later. And not forget what I think the stack was.