Skip to content

Fix link share email subject - #30568

Merged
PVince81 merged 1 commit into
masterfrom
share-link-email-subject
Feb 21, 2018
Merged

PVince81 merged 1 commit into
masterfrom
share-link-email-subject

Conversation

@PVince81

Copy link
Copy Markdown
Contributor

Description

Also removed redundant call to sendLinkShareMail as we want to always
use the given message body.

Related Issue

Fixes #30557

Motivation and Context

How Has This Been Tested?

Manual testing with a single email address, the subject looks good now and only one email is received instead of two.

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Note: no unit tests possible in this section of the code... Would be good to have acceptance tests for this that verify subject and body @owncloud/qa

Also removed redundant call to sendLinkShareMail as we want to always
use the given message body.
@PVince81 PVince81 added this to the development milestone Feb 21, 2018
@ownclouders ownclouders added Type:Bug p1-urgent Critical issue, need to consider hotfix with just that issue labels Feb 21, 2018
@codecov

codecov Bot commented Feb 21, 2018 •

Copy link
Copy Markdown

Codecov Report

Merging #30568 into master will increase coverage by <.01%.
The diff coverage is 0%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #30568      +/-   ##
============================================
+ Coverage     61.61%   61.61%   +<.01%     
  Complexity    18507    18507              
============================================
  Files          1090     1090              
  Lines         61113    61112       -1     
============================================
  Hits          37653    37653              
+ Misses        23460    23459       -1
Impacted Files Coverage Δ Complexity Δ
core/ajax/share.php 0% <0%> (ø) 0 <0> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 605b050...9eda29d. Read the comment docs.

@lordelix lordelix left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM … no PHP dev tho!

@davitol

davitol commented Feb 21, 2018

Copy link
Copy Markdown
Contributor

Tested and solves #30557 👍

@PVince81
PVince81 merged commit a486cd3 into master Feb 21, 2018
@PVince81
PVince81 deleted the share-link-email-subject branch February 21, 2018 14:19
@PVince81

Copy link
Copy Markdown
Contributor Author

stable10: #30571

@lock

lock Bot commented Aug 1, 2019

Copy link
Copy Markdown

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock Bot locked as resolved and limited conversation to collaborators Aug 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

p1-urgent Critical issue, need to consider hotfix with just that issue regression Type:Bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Email subject for link share is missing values

4 participants