Closed (fixed)
Project:
FAQ_Ask
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
31 Oct 2009 at 09:34 UTC
Updated:
17 Jun 2010 at 10:30 UTC
Jump to comment: Most recent file
The notification not contains the question itself (like before), and the link to the faq node is http://example.com/faq_ask/answer/
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | faq_ask.expert_mail_619624.patch | 1.24 KB | pingers |
| #2 | faq_ask.expert_mail.patch | 1.19 KB | pingers |
Comments
Comment #1
pingers commentedThis is because the email is being sent using a form submit handler, before node_save has been called, so there's no nid for the email to reference.
Should be using nodeapi 'save' instead.
Writing a patch as right now.
Comment #2
pingers commentedOkay, here's my patch...
It just moves the submit handler into hook_nodeapi 'insert' and 'update'. Yay.
Comment #3
pingers commentedApologies... missed the node type case... doh!
Fixed.
Comment #4
izmeez commentedI am having trouble with this patch:
A carriage return after the username comma would be nice.
The email includes the category it has been posted to but only gives the tid as a numeric not the text of that category.
I'm not sure about including the username of the person asking the question, but that might be fine.
Carriage return before and after the question would be easier to read.
Most importantly, the link "directly to the question" points to the path /faq_ask/answer/xxx and this gives an "Access denied". If the link returned /node/xxx it would work just fine.
Thanks,
Izzy
Comment #5
stenjo commentedNot mutch has happened here. Latest patch in #198828: Notify Asker on answer does fix this issue. Try that one out.
Comment #6
stenjo commentedIn my installation using 6.x-2.x-dev version this is fixed.
If the problem still persists, please reopen and add information.