Active
Project:
Comment driven
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Dec 2010 at 13:14 UTC
Updated:
16 Dec 2010 at 04:23 UTC
Jump to comment: Most recent
Comments
Comment #1
arhak commentedcomment is saved first, then node is update,
I guess you're triggering on comment creation
it can't be atomic, both things can't be done at once,
so.. whether it would be more appropriate to save the comment then the node or the other way around? (i.e. the node then the comment)
discussion/thoughts?
PS: if you would like to draft your own patch, start by comment_driven.alter.inc, function _comment_driven_submit (at the end of that file)
Comment #2
arhak commentedComment #3
J3 commentedThere are 3 event types of Notifications module:
1. node create
2. node update
3. comment
I tried to send mails for event 2 & 3, and got same results (didn't update). For event 2, i mean, updated by comment driven. (If I updated the node directly, the emails are correct, of course)
I didn't try system events (of trigger/rules modules). Maybe the timing between events of Notifications modules & system events is different, I don't know.
Thanks for your information, I will take a look at comment_driven.alter.inc
Comment #4
givanel commentedHi there. i know this is old, but has anyone reversed the order of the submission (update first, then comment?). Thanks in advance!