Skip to content

Conversation

@ChristophWurst
Copy link
Member

@ChristophWurst ChristophWurst commented Jun 2, 2020

When a remote share is deleted, we notify the remote instance. This may
trigger various error conditions, which we want to catch in order to
avoid undeletable shares. The try-catch, however, did only capture
exceptions, so things like TypeErrors were not caught and caused the
process to fail hard.

When a remote share is deleted, we notify the remove instance. This may
trigger various error conditions, which we want to catch in order to
avoid undeletable shares. The try-catch, however, did only capture
exceptions, so things like TypeErrors were not caught and caused the
process to fail hard.

Signed-off-by: Christoph Wurst <[email protected]>
@ChristophWurst
Copy link
Member Author

/backport to stable19

@ChristophWurst
Copy link
Member Author

/backport to stable18

@ChristophWurst
Copy link
Member Author

/backport to stable17

@ChristophWurst ChristophWurst added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Jun 2, 2020
@ChristophWurst
Copy link
Member Author

@ChristophWurst
Copy link
Member Author

Bildschirmfoto von 2020-06-02 10-22-23

is the error for both runs.

@danxuliu
Copy link
Member

danxuliu commented Jun 3, 2020

Are https://drone.nextcloud.com/nextcloud/server/29418/36/3 and https://drone.nextcloud.com/nextcloud/server/29418/37/3 possibly related to this change? I can't tell.

As far as I know they come from #16035.

@ChristophWurst ChristophWurst merged commit 111c8c9 into master Jun 3, 2020
@ChristophWurst ChristophWurst deleted the fix/remote-share-remove-error-handling branch June 3, 2020 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish bug feature: federation feature: sharing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants