Ghost/ghost
Daniel Lockyer 3f7a7fff44 Fixed HTTP 500 when adding unknown products to member
fix https://linear.app/tryghost/issue/SLO-89/cannot-read-properties-of-null-reading-get-an-unexpected-error

- if we pass an invalid ID when updating the products on a member, we
  throw a HTTP 500 error because `product` is `null`
- we can check for this and return a BadRequestError, because the user
  supplied an incorrect ID
2024-05-01 16:54:35 +02:00
..
adapter-cache-memory-ttl Configured all unit tests to use dot reporter 2023-10-05 12:24:24 +02:00
adapter-cache-redis Implemented Refresh-Ahead caching for Redis 2024-01-18 20:16:36 +07:00
adapter-manager Aligned dependencies with resolution values 2023-10-13 08:37:36 +02:00
admin Merged v5.82.5 into main 2024-05-01 13:22:28 +00:00
announcement-bar-settings Configured all unit tests to use dot reporter 2023-10-05 12:24:24 +02:00
api-framework Update TryGhost packages 2024-05-01 08:49:04 +02:00
api-version-compatibility-service Configured all unit tests to use dot reporter 2023-10-05 12:24:24 +02:00
audience-feedback Update TryGhost packages 2024-05-01 08:49:04 +02:00
bookshelf-repository Removed usage of yg when using NQL (#19287) 2024-01-15 14:40:01 +00:00
bootstrap-socket Added queueing middleware to handle high request volume (#19887) 2024-03-21 09:25:07 -05:00
collections Update TryGhost packages 2024-05-01 08:49:04 +02:00
constants Configured all unit tests to use dot reporter 2023-10-05 12:24:24 +02:00
core Fixed HTTP 500 when adding unknown products to member 2024-05-01 16:54:35 +02:00
custom-theme-settings-service Update TryGhost packages 2024-05-01 08:49:04 +02:00
data-generator Update TryGhost packages 2024-05-01 08:49:04 +02:00
domain-events Added queueing middleware to handle high request volume (#19887) 2024-03-21 09:25:07 -05:00
donations Update dependency typescript to v5.4.5 2024-04-16 09:08:58 +02:00
dynamic-routing-events Configured all unit tests to use dot reporter 2023-10-05 12:24:24 +02:00
email-addresses Update dependency typescript to v5.4.5 2024-04-16 09:08:58 +02:00
email-analytics-provider-mailgun Configured all unit tests to use dot reporter 2023-10-05 12:24:24 +02:00
email-analytics-service Update TryGhost packages 2024-05-01 08:49:04 +02:00
email-content-generator Update dependency fs-extra to v11.2.0 2023-11-28 11:54:44 +01:00
email-events Configured all unit tests to use dot reporter 2023-10-05 12:24:24 +02:00
email-service Update TryGhost packages 2024-05-01 08:49:04 +02:00
email-suppression-list Configured all unit tests to use dot reporter 2023-10-05 12:24:24 +02:00
express-dynamic-redirects Configured all unit tests to use dot reporter 2023-10-05 12:24:24 +02:00
external-media-inliner Add Lexical support to the external-media-inliner (#19149) 2023-11-29 17:56:03 +00:00
extract-api-key Configured all unit tests to use dot reporter 2023-10-05 12:24:24 +02:00
ghost Initial wire up of Posts -> Outbox flow 2024-04-25 11:10:17 +07:00
html-to-plaintext Configured all unit tests to use dot reporter 2023-10-05 12:24:24 +02:00
i18n 🎨 update i18n for better fit (pt-br) (#20045) 2024-04-29 09:20:07 -04:00
importer-handler-content-files Configured all unit tests to use dot reporter 2023-10-05 12:24:24 +02:00
importer-revue Update TryGhost packages 2024-05-01 08:49:04 +02:00
in-memory-repository Update TryGhost packages 2024-05-01 08:49:04 +02:00
job-manager Added queueing middleware to handle high request volume (#19887) 2024-03-21 09:25:07 -05:00
link-redirects Update Types packages 2023-11-08 12:13:12 +01:00
link-replacer 🐛 Fixed unexpected conversion of single-quoted attributes in HTML cards (#19727) 2024-03-06 09:11:49 +00:00
link-tracking Update TryGhost packages 2024-05-01 08:49:04 +02:00
magic-link Update TryGhost packages 2024-05-01 08:49:04 +02:00
mail-events Update TryGhost packages 2024-05-01 08:49:04 +02:00
mailgun-client Update TryGhost packages 2024-05-01 08:49:04 +02:00
member-attribution Update TryGhost packages 2024-05-01 08:49:04 +02:00
member-events Configured all unit tests to use dot reporter 2023-10-05 12:24:24 +02:00
members-api Fixed HTTP 500 when adding unknown products to member 2024-05-01 16:54:35 +02:00
members-csv 🔒 Added escaping to member export CSV fields 2024-04-03 10:21:02 +02:00
members-events-service Added queueing middleware to handle high request volume (#19887) 2024-03-21 09:25:07 -05:00
members-importer Update TryGhost packages 2024-05-01 08:49:04 +02:00
members-ssr Update TryGhost packages 2024-05-01 08:49:04 +02:00
mentions-email-report Configured all unit tests to use dot reporter 2023-10-05 12:24:24 +02:00
milestones Updated @tryghost/errors dependency 2024-03-11 17:33:51 +01:00
minifier Update TryGhost packages 2024-05-01 08:49:04 +02:00
model-to-domain-event-interceptor Configured all unit tests to use dot reporter 2023-10-05 12:24:24 +02:00
mw-api-version-mismatch Updated @tryghost/errors dependency 2024-03-11 17:33:51 +01:00
mw-cache-control Configured all unit tests to use dot reporter 2023-10-05 12:24:24 +02:00
mw-error-handler Update TryGhost packages 2024-05-01 08:49:04 +02:00
mw-session-from-token Update dependency express to v4.19.2 [SECURITY] 2024-03-27 11:18:44 +01:00
mw-update-user-last-seen Configured all unit tests to use dot reporter 2023-10-05 12:24:24 +02:00
mw-version-match Update TryGhost packages 2024-05-01 08:49:04 +02:00
mw-vhost Configured all unit tests to use dot reporter 2023-10-05 12:24:24 +02:00
nql-filter-expansions Configured all unit tests to use dot reporter 2023-10-05 12:24:24 +02:00
oembed-service Update TryGhost packages 2024-05-01 08:49:04 +02:00
offers Update TryGhost packages 2024-05-01 08:49:04 +02:00
package-json Update TryGhost packages 2024-05-01 08:49:04 +02:00
payments Updated @tryghost/errors dependency 2024-03-11 17:33:51 +01:00
post-events Configured all unit tests to use dot reporter 2023-10-05 12:24:24 +02:00
post-revisions Added tests to AdminX framework package (#19022) 2023-11-20 11:00:51 +00:00
posts-service Update TryGhost packages 2024-05-01 08:49:04 +02:00
recommendations Update TryGhost packages 2024-05-01 08:49:04 +02:00
referrers Configured all unit tests to use dot reporter 2023-10-05 12:24:24 +02:00
security Update TryGhost packages 2024-05-01 08:49:04 +02:00
session-service Update dependency express to v4.19.2 [SECURITY] 2024-03-27 11:18:44 +01:00
settings-path-manager Update TryGhost packages 2024-05-01 08:49:04 +02:00
slack-notifications Update TryGhost packages 2024-05-01 08:49:04 +02:00
staff-service Added email address alignment protections (#19094) 2023-11-23 10:25:30 +01:00
stats-service Update Types packages 2024-04-30 22:00:55 +02:00
stripe Added customer_update param to StripeAPI (#20105) 2024-05-01 21:07:40 +08:00
tiers Update TryGhost packages 2024-05-01 08:49:04 +02:00
update-check-service Update TryGhost packages 2024-05-01 08:49:04 +02:00
verification-trigger Updated @tryghost/errors dependency 2024-03-11 17:33:51 +01:00
version-notifications-data-service Configured all unit tests to use dot reporter 2023-10-05 12:24:24 +02:00
webmentions Added queueing middleware to handle high request volume (#19887) 2024-03-21 09:25:07 -05:00
tsconfig.json Disabled TypeScript incremental building 2023-08-09 18:27:56 +02:00