You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Reproduction Steps
We hit this issue on reconnection test.
Disconnect SDL core.
SDLManager starts reconnection.
SDLListFilesOperation is executed at FetchingInitialFileList
SDLUploadFileOperation is executed at SettingUpAppIcon and it fails.
Reconnection success.
Disconnect SDL core.
SDLManager starts reconnection.
SDLListFilesOperation is queued at FetchingInitialFileList but is not executed because last SDLUploadFileOperation stays in queue.
Expected Behavior
SDLListFilesOperation is executed even after SDLUploadFileOperation had failed.
Observed Behavior
SDLListFilesOperation is not executed
OS & Version Information
iOS Version: 11
SDL iOS Version: 5.1.1
Testing Against: Our internal HU devboard.
Test Case, Sample Code, and / or Example App
I will create PR later.
The text was updated successfully, but these errors were encountered:
Bug Report
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.
Reproduction Steps
We hit this issue on reconnection test.
Expected Behavior
SDLListFilesOperation is executed even after SDLUploadFileOperation had failed.
Observed Behavior
SDLListFilesOperation is not executed
OS & Version Information
Test Case, Sample Code, and / or Example App
I will create PR later.
The text was updated successfully, but these errors were encountered: