-
-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
🐛[4.x] Fixed updating a non-existent member not throwing #14657
Merged
matthanley
merged 3 commits into
TryGhost:4.x
from
SimonBackx:update-non-existing-member
May 4, 2022
Merged
🐛[4.x] Fixed updating a non-existent member not throwing #14657
matthanley
merged 3 commits into
TryGhost:4.x
from
SimonBackx:update-non-existing-member
May 4, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
refs https://ghost.slack.com/archives/C02G9E68C/p1651573533380179?thread_ts=1651488536.238499&cid=C02G9E68C - When you try to edit a member that doesn't exist, a 500 error is thrown. - This is fixed by TryGhost/Members#395
Codecov Report
@@ Coverage Diff @@
## 4.x #14657 +/- ##
=======================================
Coverage 59.80% 59.80%
=======================================
Files 580 580
Lines 48003 48003
Branches 4214 4214
=======================================
Hits 28710 28710
Misses 19252 19252
Partials 41 41 Continue to review full report at Codecov.
|
SimonBackx
added a commit
to TryGhost/Members
that referenced
this pull request
May 3, 2022
refs https://github.com/TryGhost/Team/issues/1580 - When you tried to update a member that doesn't exist, an internal error was thrown - It should throw a 'not found' error instead - Optimized when to fetch the initialMember Tests for 4.x in TryGhost/Ghost#14657 Tests for 5.x in TryGhost/Ghost#14658
refs https://github.com/TryGhost/Team/issues/1580 - Changes in TryGhost/Members#395 - Also adds an extra test without newsletters changes
SimonBackx
force-pushed
the
update-non-existing-member
branch
from
May 3, 2022 15:07
9bfec5f
to
40770fe
Compare
SimonBackx
force-pushed
the
update-non-existing-member
branch
from
May 3, 2022 15:08
40770fe
to
33cca05
Compare
matthanley
approved these changes
May 3, 2022
allouis
approved these changes
May 4, 2022
SimonBackx
changed the title
🐛[4.x] Fixed updating a non-existing member not throwing
🐛[4.x] Fixed updating a non-existent member not throwing
May 4, 2022
daniellockyer
pushed a commit
that referenced
this pull request
Jul 20, 2022
refs https://github.com/TryGhost/Team/issues/1580 - When you tried to update a member that doesn't exist, an internal error was thrown - It should throw a 'not found' error instead - Optimized when to fetch the initialMember Tests for 4.x in #14657 Tests for 5.x in #14658
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
refs https://github.com/TryGhost/Team/issues/1580
This PR is for the 4.x branch.
5.0: #14658