Ghost/ghost
Rishabh Garg 8a598fe721
🐛 Fixed member importer crash for failed imports (#15560)
refs/closes https://github.com/TryGhost/Team/issues/2004

- for imports, members are created inside a transaction, which causes the member created events to be dispatched.
- its possible that transactions for import can be rolled back if for some reason there is an error down the line while inserting other member properties. The rollback doesn't commit the member to DB, but the event dispatched earlier will still try to create the member created event which fails due to missing member id.
- knex transactions resolve the `executionPromise` both in case of explicit commit or rollback from the user, so just the transaction end check will not be good enough to make sure the member exists in DB
- adds explicit config to knex to reject transaction in case of rollback, which is then caught and event is not dispatched
2022-10-07 19:15:18 +05:30
..
adapter-manager Update Test & linting packages 2022-10-05 00:36:08 +00:00
admin Added Ghost Explore in Ghost as iframe app behind feature flag (#15495) 2022-10-07 14:32:54 +01:00
api-framework Update Test & linting packages 2022-10-05 00:36:08 +00:00
api-version-compatibility-service Update Test & linting packages 2022-10-05 00:36:08 +00:00
bootstrap-socket Update Test & linting packages 2022-10-05 00:36:08 +00:00
constants Update Test & linting packages 2022-10-05 00:36:08 +00:00
core Added Ghost Explore in Ghost as iframe app behind feature flag (#15495) 2022-10-07 14:32:54 +01:00
custom-theme-settings-service Update Test & linting packages 2022-10-05 00:36:08 +00:00
domain-events Organized package dependencies 2022-08-18 11:55:49 +02:00
email-analytics-provider-mailgun Update Test & linting packages 2022-10-05 00:36:08 +00:00
email-analytics-service Update Test & linting packages 2022-10-05 00:36:08 +00:00
email-content-generator Organized package dependencies 2022-08-18 11:55:49 +02:00
express-dynamic-redirects Organized package dependencies 2022-08-18 11:55:49 +02:00
extract-api-key Fixed full Admin test suite running during unit tests 2022-08-15 15:34:52 +02:00
html-to-plaintext Fixed full Admin test suite running during unit tests 2022-08-15 15:34:52 +02:00
job-manager Fixed typos 2022-10-07 18:41:21 +08:00
link-redirects Update Test & linting packages 2022-10-05 00:36:08 +00:00
link-replacer Update Test & linting packages 2022-10-05 00:36:08 +00:00
link-tracking Update Test & linting packages 2022-10-05 00:36:08 +00:00
magic-link Merged v5.17.2 into main 2022-10-05 18:33:12 +07:00
mailgun-client Update Test & linting packages 2022-10-05 00:36:08 +00:00
member-analytics-service Update Test & linting packages 2022-10-05 00:36:08 +00:00
member-attribution Update Test & linting packages 2022-10-05 00:36:08 +00:00
member-events Update Test & linting packages 2022-10-05 00:36:08 +00:00
members-analytics-ingress Update Test & linting packages 2022-10-05 00:36:08 +00:00
members-api 🐛 Fixed member importer crash for failed imports (#15560) 2022-10-07 19:15:18 +05:30
members-csv Update Test & linting packages 2022-10-05 00:36:08 +00:00
members-events-service Update Test & linting packages 2022-10-05 00:36:08 +00:00
members-importer 🐛 Fixed member importer crash for failed imports (#15560) 2022-10-07 19:15:18 +05:30
members-ssr 🐛 Prevented member creation when logging in (#15526) 2022-10-05 18:11:06 +07:00
minifier Update dependency terser to v5.15.1 2022-10-05 18:29:24 +00:00
mw-api-version-mismatch Update Test & linting packages 2022-10-05 00:36:08 +00:00
mw-cache-control Update Test & linting packages 2022-10-05 00:36:08 +00:00
mw-error-handler Update dependency semver to v7.3.8 2022-10-05 23:34:22 +00:00
mw-session-from-token Update Test & linting packages 2022-10-05 00:36:08 +00:00
mw-update-user-last-seen Update Test & linting packages 2022-10-05 00:36:08 +00:00
mw-vhost Update Test & linting packages 2022-10-05 00:36:08 +00:00
oembed-service Updated @tryghost dependencies (#15434) 2022-09-27 08:31:35 +07:00
offers Update Test & linting packages 2022-10-05 00:36:08 +00:00
package-json Update Test & linting packages 2022-10-05 00:36:08 +00:00
payments Update Test & linting packages 2022-10-05 00:36:08 +00:00
portal Update sentry-javascript monorepo to v7.14.2 2022-10-07 08:41:20 +07:00
referrers Update Test & linting packages 2022-10-05 00:36:08 +00:00
security Update Test & linting packages 2022-10-05 00:36:08 +00:00
session-service Update Test & linting packages 2022-10-05 00:36:08 +00:00
settings-path-manager Update Test & linting packages 2022-10-05 00:36:08 +00:00
staff-service 🎨 Improved preview text on member alert emails (#15543) 2022-10-07 14:31:05 +04:00
stats-service Update Test & linting packages 2022-10-05 00:36:08 +00:00
stripe Update Test & linting packages 2022-10-05 00:36:08 +00:00
update-check-service Update Test & linting packages 2022-10-05 00:36:08 +00:00
verification-trigger Swapped member limit verification trigger event 2022-10-07 09:20:29 +08:00
version-notifications-data-service Update Test & linting packages 2022-10-05 00:36:08 +00:00