Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
SDLUploadFileOperation is not finished on error #860
SDLUploadFileOperation is not finished on error, and keep staying in SDLFileManager's operation queue. This cause succeeding operations not being executed.
In SDL Manager connection and reconnection phase, SDLFileManager uses SDLListFilesOperation at FetchingInitialFileList and SDLUploadFileOperation at SettingUpAppIcon operations in 1 queue with maxConcurrentOperationCount = 1.
If SDLUploadFileOperation fails, it does not call finishOperation and stays in transaction queue. This blocks succeeding operations to be executed.
We hit this issue on reconnection test.
SDLListFilesOperation is executed even after SDLUploadFileOperation had failed.
SDLListFilesOperation is not executed
OS & Version Information
Test Case, Sample Code, and / or Example App
I will create PR later.