I have 2 Drupal 6.12 sites running on same code base (multisite).
I have the same modules enabled in both sites.
In one site I managed to get custom subscriptions working after fooling around with it for 2 days. It just started working suddenly and it was not from any settings I changed.
The second site, when set up exactly the same way, will still not send any mail notifications for custom subscriptions.
(Both sites will always send standard [non-custom] subscription notifications.)
I compared the db tables for the site that works (Example_Site1Drupal) and the site that does not work (Exampl2Drupal). The comparision is attached as a text file. Here is the main difference:
mysql> use Example_Site1Drupal; (working)
mysql> select * from notifications_event;
+-----+--------+------+--------+-----+----------+------+---------------------------+------------+---------+
| eid | module | type | action | oid | language | uid | params | created | counter |
+-----+--------+------+--------+-----+----------+------+---------------------------+------------+---------+
| 19 | node | node | update | 73 | NULL | 1 | a:1:{s:3:"nid";s:2:"73";} | 1243276058 | 0 |
| 18 | node | node | update | 77 | NULL | 1 | a:1:{s:3:"nid";s:2:"77";} | 1243275518 | 0 |
+-----+--------+------+--------+-----+----------+------+---------------------------+------------+---------+
2 rows in set (0.00 sec)
mysql> use Exampl2Drupal; (not working)
mysql> select * from notifications_event;
Empty set (0.00 sec)
Here's my Drupal info: Drupal 6.12
Modules
FCKeditor - WYSIWYG HTML editor 6.x-2.0-alpha5
Global Redirect 6.x-1.2
Image 6.x-1.0-alpha4
Messaging 6.x-2.0
Mollom 6.x-1.7
Notifications 6.x-2.x-dev (2009-May-18)
Notifications Add-ons 6.x-2.x-dev (2009-Apr-28)
Recommended version: 6.x-2.0-beta2 (2009-Apr-29)
Pathauto 6.x-1.x-dev (2009-May-02)
SMTP Authentication Support 6.x-1.0-beta3
Token 6.x-1.x-dev (2009-Apr-20)
Watcher 6.x-1.2
Themes
Marinelli 6.x-2.95
| Comment | File | Size | Author |
|---|---|---|---|
| CustomSubscriptionDatabaseTablesComparison.txt | 7.53 KB | MountainX |
Comments
Comment #1
MountainX commentedI also posted here:
http://drupal.org/node/468280
Comment #2
danepowell commentedJose, should a custom subscription simply act as a wrapper/grouper by enabling the individual subscriptions contained within it? Or should it act more like a subscription unto itself? (If that makes sense)
In my opinion, it should just be a wrapper, but this does not seem to be how it's currently implemented. For instance, if I am subscribed to a CS that contains a tag and check my subscriptions, they show that I'm not subscribed to that tag. This is a confusing behavior and possibly related to this issue.
Comment #3
danepowell commentedI'm going to assume for now that this is either a duplicate of #468280: Notifications just are not sent or has been fixed in the past months unless you have evidence to suggest otherwise...
Comment #4
Branjawn commentedit's not a duplicate. I am having the same problem.
Comment #5
danepowell commentedBranjawn - before I spend more time on this, please test this for me: first install the latest dev versions of notifications and notifications_extra. Create a non-custom subscription and a custom subscription with all of the same parameters (delivery method, send interval, etc...) except for the specific trigger condition. Example: a standard taxonomy subscription to one taxonomy term, and a custom subscription to a different taxonomy term.
Trigger the non-custom subscription. Confirm that a row is inserted into notifications_event, and that you receive the notification. Now trigger the custom subscription, and confirm that a row is NOT inserted into notifications_event and you do NOT receive a notification.
Custom subscriptions may not be infallible, but there are a lot of other things that could cause notifications not to send...
Comment #6
jose reyero commentedAbout custom subscriptions, it has been moved to Notifications and improved, check out 4.x version
About this issue, no follow up, so closing