Closed (won't fix)
Project:
Simplenews Template
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Sep 2009 at 19:00 UTC
Updated:
29 Sep 2009 at 17:50 UTC
I found out that when a simplenews node was edited and a test newsletter was requested to be sent in the same moment, the unmodified simplenews node was sent as a test instead of the new one.
I debugged this issue and I found it's related to #221081: Entity cache out of sync and inconsistent when saving/deleting entities.
Rather than patching the core, there's a workaround you can use on this module, which is to fix the node_load() funtion to use both nid and vid in the mail_alter hook.
| Comment | File | Size | Author |
|---|---|---|---|
| simplenews_template_node_load_nocache.patch | 528 bytes | hanoii |
Comments
Comment #1
hanoiiComment #2
hanoiiI just realized that the problem was actually introduced by somebody else's patch, so this patch would not really apply to the CVS code, and the error is not in CVS.