Open jesmrec opened 6 years ago
App crashes by performing these steps:
Current: App crashes and no more content can be deleted. Expected: Alert in 4. is not correct. All content correctly deleted.
Same action in server and app when app is online causes a conflict that the user has to fix. The action in the app is ignored:
Current: The app shows an alert: "item not found". List is not refreshed automatically. When pulling down, the change in the webUI is fetched and updated, and the change in the app is ignored
Expected: User is asked for the version to keep.
https://github.com/owncloud/ios-app/pull/102#issuecomment-410218436
the operations seem to be queued. When the first one is executed (renamed), the source file does not have the same name, so the second action will not find such file.
Current: action is performed once, correctly. Next time one item is moved (no matter which one), an error appears pointing to the actions that were not executed in offline mode. Error will be raised as many times as "move" actions were done.
Expected/Suggested: in offline mode, if the same operation (exactly the same) is performed more than one time in a row, it should be discarded to avoid such side-effects.
NOTE: Same effect with Duplicate
action
files app related, rename items offline:
https://github.com/owncloud/ios-app/pull/67#issuecomment-440369524
Upload a file from photo library with no connection. From https://github.com/owncloud/ios-app/pull/146#issuecomment-440256852
Upload a file, and connection is lost in the middle, pointing to an error even though the upload success.
From https://github.com/owncloud/ios-app/pull/146#issuecomment-441019112
The sdk is ready to perform actions when device is offline, and perform them once the app gets online mode again. Sometimes, such behaviour can lead to a lack of sync of other problems related. I will describe some of them here.
Also, discussions about expected behaviour can be handled here
NOTE: Some of the issues can concern the app (@pablocarmu). They are reported here, so the offline mode is manly responsibility of the SDK.