0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core
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
..
client@3863b73659 Updated Ghost-Admin to v3.25.0 2020-07-13 14:52:36 +01:00
frontend Updated ghost_head & ghost_foot to work with tags 2020-07-10 14:20:24 +02:00
server 🐛 Fixed cache invalidation for published posts with no content 2020-07-15 17:41:24 +12:00
shared Switched on Stripe Connect by default 2020-06-30 14:07:33 +02:00
index.js Refactor common pattern in service files 2020-04-30 20:48:42 +01:00