Skip to content

Conversation

@icewind1991
Copy link
Member

For #3766

@Esprit-Libre @Gavisann @vojeroen can you verify if this fixes the problem for you

@icewind1991 icewind1991 added the 3. to review Waiting for reviews label Jul 17, 2017
@icewind1991 icewind1991 added this to the Nextcloud 13 milestone Jul 17, 2017
@icewind1991 icewind1991 requested a review from schiessle July 17, 2017 12:21
@mention-bot
Copy link

@icewind1991, thanks for your PR! By analyzing the history of the files in this pull request, we identified @schiessle, @nickvergessen and @rullzer to be potential reviewers.

Copy link
Member

@schiessle schiessle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good. Ideally we would re-try to send the feedback in a background job later again, but for now I think this fix is good

@schiessle
Copy link
Member

Probably something we should backport.

@vojeroen
Copy link

@icewind1991 unfortunately I don't have the possibility to apply a non-release version on our systems

try {
$share = $getShare->fetch();
$this->sendFeedbackToRemote($share['remote'], $share['share_token'], $share['remote_id'], 'decline');
} catch (\Exception $e) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

\Exception might be a bit generic... but i guess for now OK.

I do agree with @schiessle that we should probabaly inject some background job that will try to notify the remote a few times.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants