Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Handle MAIN_FOLDER_REMOVED error on saveFiles #1030

Merged
merged 1 commit into from
Nov 24, 2023

Conversation

doubleface
Copy link
Contributor

@doubleface doubleface commented Nov 23, 2023

When this even occurs, it means that the main destination folder of the
konnector has been removed during konnector execution.

In this case, we :

  • Regenerate the files index
  • create the destination folder according to the manifest
  • update the trigger with the new message.folder_to_save attribute
  • retry saveFiles

see konnectors/libs#973

Still needs konnectors/libs#973 to be merged and the resulting version of cozy-clisk to be added.

Checklist

Before merging this PR, the following things must have been done:

  • Faithful integration of the mockups at all screen sizes
  • Tested on iOS
  • Tested on Android
  • Localized in English and French
  • All changes have test coverage
  • Updated README & CHANGELOG, if necessary

When this even occurs, it means that the main destination folder of the
konnector has been removed during konnector execution.

In this case, we :
 - Regenerate the files index
 - create the destination folder according to the manifest
 - update the trigger with the new message.folder_to_save attribute
 - retry saveFiles

see konnectors/libs#973
@doubleface doubleface marked this pull request as ready for review November 24, 2023 14:17
@doubleface doubleface merged commit 4639d7b into master Nov 24, 2023
1 check passed
@doubleface doubleface deleted the feat/mainFolderRemoved branch November 24, 2023 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants