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

🐛 Fixed data importer allowing invalid free product to be imported #20572

Conversation

mike182uk
Copy link
Member

refs ENG-1355

Fixed data importer allowing invalid free product to be imported which could cause Ghost to not start due to the error:

ValidationError: Free Tiers cannot have a currency

It should not be possible to import a free product with pricing data (as that means its not free 😄)

refs [ENG-1355](https://linear.app/tryghost/issue/ENG-1355/site-boot-cycling-due-to-free-tier-having-a-currency)

Fixed data importer allowing invalid free product to be imported which could
cause Ghost to not start due to the error:

`ValidationError: Free Tiers cannot have a currency`

It should not be possible to import a free product with pricing data (as that
means its not free 😄)
@mike182uk mike182uk merged commit 6bfba13 into TryGhost:main Jul 10, 2024
22 checks passed
@mike182uk mike182uk deleted the mike-eng-1355-site-boot-cycling-due-to-free-tier-having-a-currency branch July 10, 2024 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant