0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-08 02:52:39 -05:00
ghost/test
Nazar Gargol ced3e28d60 🐛 Fixed cache invalidation for published posts with no content
closes #12015
refs 95880dddeb

- The bug was caused by falsy plaintext field assignment to empty string `''` when the html content was `null`. Because of the `setEmptyValuesToNull` function (referenced commit), there is no sense to assign empty string value to plaintext property, because it would still end up being `null`
- The `''` -> `null` conversion was confusing the model layer to think that some fields were changed, where in reality none did. This in turn lead to a bug with falsy cache invalidation
2020-07-15 17:41:24 +12:00
..
api-acceptance Fixed linting error 2020-07-07 21:07:16 +12:00
frontend-acceptance 🎨 New Google AMP template (#11986) 2020-07-06 17:09:24 +01:00
regression 🐛 Fixed cache invalidation for published posts with no content 2020-07-15 17:41:24 +12:00
unit 🐛 Fixed Stripe webhooks for subdirectory setups 2020-07-10 17:43:46 +02:00
utils Added field mapping support for members import CSVs 2020-07-02 15:18:39 +12:00
.eslintignore
.eslintrc.json Fixed linting error 2020-04-17 11:32:29 +01:00
.jshintrc