Skip to content

Conversation

@schiessle
Copy link
Member

@schiessle schiessle commented Nov 23, 2018

log the error in case a notification mail of a new share couldn't
be send to the recipient and finish the share operation successfully

I would suggest to backport it at least to stable15 and stable14

fix #12597

@rullzer
Copy link
Member

rullzer commented Nov 26, 2018

/backport to stable15

@rullzer
Copy link
Member

rullzer commented Nov 26, 2018

/backport to stable14

@MorrisJobke MorrisJobke added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Nov 28, 2018
@ChristophWurst ChristophWurst added 3. to review Waiting for reviews and removed 4. to release Ready to be released and/or waiting for tests to finish labels Nov 29, 2018
Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

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

Typo 😉

Is the returned bool used?

Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

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

Result is never checked.

Ref

$this->sendMailNotification(
$l,
$share->getNode()->getName(),
$this->urlGenerator->linkToRouteAbsolute('files.viewcontroller.showFile', ['fileid' => $share->getNode()->getId()]),
$share->getSharedBy(),
$emailAddress,
$share->getExpirationDate()
);

@ChristophWurst

This comment has been minimized.

@ChristophWurst

This comment has been minimized.

@MorrisJobke MorrisJobke added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Nov 30, 2018
@schiessle schiessle added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Dec 4, 2018
@schiessle
Copy link
Member Author

typo fixed

@MorrisJobke MorrisJobke mentioned this pull request Jan 4, 2019
3 tasks
@MorrisJobke MorrisJobke mentioned this pull request Jan 30, 2019
log the error in case a notification mail of a new share couldn't
be send to the recipient and finish the share operation successfully

Signed-off-by: Bjoern Schiessle <[email protected]>
Signed-off-by: Bjoern Schiessle <[email protected]>
Signed-off-by: Bjoern Schiessle <[email protected]>
Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

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

I'm fine with @schiessle's changes as this method is solely used in this class 👍

@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 Jan 30, 2019
Signed-off-by: Christoph Wurst <[email protected]>
Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

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

Code looks good 👍

@MorrisJobke MorrisJobke mentioned this pull request Jan 30, 2019
@rullzer rullzer merged commit 85d6d7b into master Jan 30, 2019
@rullzer rullzer deleted the fix-12597 branch January 30, 2019 19:05
@backportbot-nextcloud
Copy link

backport to stable15 in #13930

@backportbot-nextcloud
Copy link

backport to stable14 in #13931

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: sharing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error when sharing to user with email

7 participants