Ghost/ghost
Simon Backx 28e4eb60ae
🐛 Fixed offer links with an archived tier (#15792)
refs https://github.com/TryGhost/Team/issues/2233

**Problem**
When a user clicks an offer link that has an archived tier, the site
blocks and you are no longer able to scroll. This is because the product
for that offer can't be found. This has been fixed by updating the
`isActiveOffer` helper to also check for the existence of the
corresponding tier.

**Solution**
- You no longer are able to create new offers if there are no active
tiers
- A custom message is shown that instructs the user to create a new tier
if there are not active tiers on the offers page
- Improved detection of changes in tiers by correctly reloading the
members utils service after tier changes
- Portal redirects to the homepage for offers with an archived tier
(same behaviour as invalid offers)
- Offers of an archived tier are no longer visible in the dashboard
2022-11-11 10:11:34 +01:00
..
adapter-manager Update Test & linting packages 2022-11-07 20:39:48 +00:00
admin 🐛 Fixed offer links with an archived tier (#15792) 2022-11-11 10:11:34 +01:00
api-framework Update Test & linting packages 2022-11-07 20:39:48 +00:00
api-version-compatibility-service Update Test & linting packages 2022-11-07 20:39:48 +00:00
audience-feedback Update Test & linting packages 2022-11-07 20:39:48 +00:00
bootstrap-socket Update Test & linting packages 2022-11-07 20:39:48 +00:00
constants Update Test & linting packages 2022-11-07 20:39:48 +00:00
core Update dependency bookshelf-relations to v2.5.0 2022-11-10 15:31:20 +00:00
custom-theme-settings-service Update Test & linting packages 2022-11-07 20:39:48 +00:00
data-generator Update Test & linting packages 2022-11-07 20:39:48 +00:00
domain-events Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
email-analytics-provider-mailgun Update Test & linting packages 2022-11-07 20:39:48 +00:00
email-analytics-service Update Test & linting packages 2022-11-07 20:39:48 +00:00
email-content-generator Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
express-dynamic-redirects Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
extract-api-key Fixed full Admin test suite running during unit tests 2022-08-15 15:34:52 +02:00
html-to-plaintext Update dependency mocha to v10.1.0 2022-10-17 08:41:28 +00:00
job-manager Update Test & linting packages 2022-11-07 20:39:48 +00:00
link-redirects Update Test & linting packages 2022-11-07 20:39:48 +00:00
link-replacer Update Test & linting packages 2022-11-07 20:39:48 +00:00
link-tracking Update Test & linting packages 2022-11-07 20:39:48 +00:00
magic-link Update Test & linting packages 2022-11-07 20:39:48 +00:00
mailgun-client Update Test & linting packages 2022-11-07 20:39:48 +00:00
member-analytics-service Update Test & linting packages 2022-11-07 20:39:48 +00:00
member-attribution 🐛 Fixed ref attribute in email links (#15775) 2022-11-08 11:24:00 +01:00
member-events Update Test & linting packages 2022-11-07 20:39:48 +00:00
members-analytics-ingress Update Test & linting packages 2022-11-07 20:39:48 +00:00
members-api 🐛 Fixed visible canceled events in conversions tab on analytics page (#15796) 2022-11-11 09:56:03 +01:00
members-csv Update Test & linting packages 2022-11-07 20:39:48 +00:00
members-events-service Update Test & linting packages 2022-11-07 20:39:48 +00:00
members-importer 🐛 Fixed complimentary_plan Member imports 2022-11-08 11:47:00 +07:00
members-ssr Update Test & linting packages 2022-11-07 20:39:48 +00:00
minifier Update Test & linting packages 2022-11-07 20:39:48 +00:00
mw-api-version-mismatch Update Test & linting packages 2022-11-07 20:39:48 +00:00
mw-cache-control Update Test & linting packages 2022-11-07 20:39:48 +00:00
mw-error-handler Update Test & linting packages 2022-11-07 20:39:48 +00:00
mw-session-from-token Update Test & linting packages 2022-11-07 20:39:48 +00:00
mw-update-user-last-seen Update Test & linting packages 2022-11-07 20:39:48 +00:00
mw-vhost Update dependency supertest to v6.3.1 2022-10-26 02:54:43 +00:00
oembed-service Updated @tryghost dependencies (#15631) 2022-10-24 10:30:40 +07:00
offers Update Test & linting packages 2022-11-07 20:39:48 +00:00
package-json Update Test & linting packages 2022-11-07 20:39:48 +00:00
payments Fixed check for existing Stripe Prices 2022-11-09 14:56:16 +07:00
portal 🐛 Fixed offer links with an archived tier (#15792) 2022-11-11 10:11:34 +01:00
referrers Update Test & linting packages 2022-11-07 20:39:48 +00:00
security Update Test & linting packages 2022-11-07 20:39:48 +00:00
session-service Update Test & linting packages 2022-11-07 20:39:48 +00:00
settings-path-manager Update Test & linting packages 2022-11-07 20:39:48 +00:00
staff-service Update Test & linting packages 2022-11-07 20:39:48 +00:00
stats-service Update Test & linting packages 2022-11-07 20:39:48 +00:00
stripe Update Test & linting packages 2022-11-07 20:39:48 +00:00
tiers 🐛 Fixed archiving Tiers (#15761) 2022-11-04 10:51:11 +07:00
update-check-service Update Test & linting packages 2022-11-07 20:39:48 +00:00
verification-trigger Update Test & linting packages 2022-11-07 20:39:48 +00:00
version-notifications-data-service Update Test & linting packages 2022-11-07 20:39:48 +00:00