Bug #14885
closed
I do see exactly what he means, and it is not the case on my sites. This seems to be only for this one site - any ideas?
Nice sleuthing, Ray!
Did you see any obvious reason why there was a mismatch between the cached value and the value in the database? I realize these things are very hard to debug, but perhaps if there's an obvious fix we could suggest upstream, it would be worthwhile.
Is there any way we can detect this kind of problem in the future? It feels odd that the plugin would rely on a cached value during something like an upgrade routine - maybe we could skip it, and force the plugin to fetch directly from the database? Maybe this is a long shot, and maybe it's a case that won't come up again in the future, but it might be worth a bit of investigation.
It feels odd that the plugin would rely on a cached value during something like an upgrade routine
It's an architectural problem. Their option fetching routine has a cache, so Tribulant needs to purge their cache entry after the upgrade is complete. I took a quick look at their codebase and it looks like they never delete or update any option in their object cache! Crazy!
This means that there could be other issues with the plugin and older, cached values.
I've made a post in their support forum here and Tribulant says they are looking into it.
In the meantime, I can probably patch newsletters-lite
so their options object cache is properly updated and deleted when needed.
- Category name set to WordPress Plugins
- Status changed from New to Staged for Production Release
- Assignee set to Raymond Hoh
- Target version set to 1.18.21
Thank you! Both from me and the user.
- Target version changed from 1.18.21 to 1.18.22
- Status changed from Staged for Production Release to Resolved
Also available in: Atom
PDF