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

Treat send attempt as unsuccessful when there is a message. #35220

Merged
merged 1 commit into from
May 16, 2019
Merged

Conversation

VicDeo
Copy link
Member

@VicDeo VicDeo commented May 14, 2019

Description

result.ocs.meta.status is 200 when the email was not sent.

Related Issue

Motivation and Context

Frontend says that email is successfully sent even when it has been not sent.

How Has This Been Tested?

See #35218

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Database schema changes (next release will require increase of minor version instead of patch)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

Open tasks:

  • Backport (if applicable set "backport-request" label and remove when the backport was done)

@VicDeo VicDeo added 3 - To Review p2-high Escalation, on top of current planning, release blocker labels May 14, 2019
@VicDeo VicDeo added this to the development milestone May 14, 2019
@VicDeo VicDeo self-assigned this May 14, 2019
@VicDeo VicDeo requested review from PVince81 and micbar May 14, 2019 10:30
@VicDeo
Copy link
Member Author

VicDeo commented May 14, 2019

10.2.0: #35221

@codecov
Copy link

codecov bot commented May 14, 2019

Codecov Report

Merging #35220 into master will decrease coverage by <.01%.
The diff coverage is 12.5%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #35220      +/-   ##
============================================
- Coverage     65.53%   65.53%   -0.01%     
  Complexity    18645    18645              
============================================
  Files          1218     1218              
  Lines         70540    70542       +2     
  Branches       1288     1288              
============================================
  Hits          46231    46231              
- Misses        23932    23934       +2     
  Partials        377      377
Flag Coverage Δ Complexity Δ
#javascript 53.69% <100%> (ø) 0 <0> (ø) ⬇️
#phpunit 66.89% <0%> (-0.01%) 18645 <0> (ø)
Impacted Files Coverage Δ Complexity Δ
...es_sharing/lib/Controller/Share20OcsController.php 87.27% <0%> (-0.32%) 204 <0> (ø)
core/js/sharedialogshareelistview.js 80.48% <100%> (ø) 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 7e920e3...b9c9eb5. Read the comment docs.

@VicDeo VicDeo changed the title Treat send attempt unsuccessful when there is a message. Treat send attempt as unsuccessful when there is a message. May 14, 2019
@VicDeo
Copy link
Member Author

VicDeo commented May 14, 2019

@PVince81 is it better now?

@owncloud owncloud deleted a comment from codecov bot May 14, 2019
@paurakhsharma
Copy link
Member

Acceptance test related to this feature is here: #35215

@PVince81
Copy link
Contributor

@VicDeo yes.

would be good to update unit tests where possible

Copy link
Contributor

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

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

👍

@PVince81 PVince81 merged commit 2e58413 into master May 16, 2019
@delete-merged-branch delete-merged-branch bot deleted the fix-35218 branch May 16, 2019 06:03
@lock lock bot locked as resolved and limited conversation to collaborators May 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
3 - To Review p2-high Escalation, on top of current planning, release blocker
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sharer gets "Email notification was sent!" message even when the email was not sent
4 participants