This module appears to be dead.
No notifications get sent, regardless of taxonomy, node, etc.
Group "fields" when added to the custom subscription come up empty in the drop list.
Anyone using this successfully?
--glen
This module appears to be dead.
No notifications get sent, regardless of taxonomy, node, etc.
Group "fields" when added to the custom subscription come up empty in the drop list.
Anyone using this successfully?
--glen
Comments
Comment #1
danepowell commentedYes, I am using it quite successfully. Can you be more specific about what steps you take to reproduce this problem? Otherwise it's very difficult to help. It sounds like you might be describing two problems here, correct me if I'm wrong.
Comment #2
glen201 commentedDane, thanks for responding.
1. You got that problem.
2. The bigger problem is that no notifications are sent. I understand the boolean issue, I am using single fields. For example, a taxonomy term. Or, a node type. I noticed in the database, looking in the notifications_fields table, that the record it inserted with the sid of entery in notifications table, the tid is +1 more than the tid of the taxonomy term I selected from the term_data table.
-- glen
Comment #3
danepowell commentedHuh... well that's an interesting observation, and not something that I've seen before. I'll try to figure out why that might be happening.
I've split this into two issues, see #624908: No groups available for subscription
Comment #4
glen201 commentedThanks for looking into it. Here's a clue:
I am also using the following in the notifications/OG module soup:
Notifications: 6.x-2.1
OG: 6.x-2.0
Organic groups vocabularies: 6.x-1.0
OG forum: 6.x-2.x-dev
Hope this helps.
-- glen
Comment #5
glen201 commentedUpdate to #2:
It's not that the tid is +1 of what it should be, it's that when the Fields are added to the notifications_custom, the **NEXT VALUE** in the list is added (the error is when the notification is being built). Upon examining the serialized fields column in notifications_custom, I see the next item in the term_data list indicated. In other words, looking in term_data table I see
tid vid name ....
24 6 General
28 1 Discussion group
If I select the field General when building the custom notification, it enters the tid for Discussion group -- the one that follows that field.
Got it?
So if I go in to notifications_custom and fix the serialized field, it creates the proper subscription tid for the users. HOWEVER, even with the right tid in the notifications_fields table, still no messages sent. Gonna try to figure out why next...
--glen
Comment #6
glen201 commentedUpdate to #5: Notifications seems to work when you fix the value in notifications_custom table.
However, still not sure why it's putting in the wrong tid. I've seen the inaccuracy sometimes when fields are selected from the autocomplete (the drop menu list) as you are typing, they get added with the wrong tid. When you type in the field, it seems to more accurately use the correct tid!
Comment #7
glen201 commentedFound a UI problem: in notifications_custom, the #description form type should reference $subs->description not explanation.
Also, all Field set titles on the Notifications overview page for the user are cap'd, so change "edit subscriptions" to "Edit subscriptions" (or, Subscribe to, which is preferrable).
Comment #8
Barberousse commentedHello,
I have a similar problem: if I create a content type notification with notification UI on a content type called "nouvelle", it works: users receive notifications when a "nouvelle" content is created. But I want users to have the possibility to subscribe to this content type on the registration form. For that, I created a custom subscription called custom_subscription_list containing only one field content type -> nouvelle, the subscribing users don't receive notifications when I create a new "nouvelle" content.
It hapens with the stable and the devel version, with drupal mail and mime mail as mail sender engine.
Any progress on this bug?
Thank you.
Barberousse.
Comment #9
Barberousse commentedHello,
My problem is different, I created a new thread here as suggested by Dane.
Barberousse
Comment #10
danepowell commentedOkay folks, I'm going to try to tease apart the issues in this thread once again... it sounds like we have three:
1) the primary issue of notifications not sending, possibly caused by TIDs getting incremented for some reason (active)
2) the issue in 7, minor UI stuff (active)
3) Barberousse's problem of notifications not sending when subscribed on registration, which has been pinned down- the problem actually lies in existing subscriptions not being updated when a custom subscription is modified. (patch needed)
Please create separate issues for 2 and 3 and submit patches if possible. Let me know if I've missed something.
Comment #11
danepowell commentedI'd really like to help, but I'm still not able to reproduce this bug, which makes it exceedingly difficult to squash :) Unless you can give me more information on how to reproduce it there's not a whole lot I can do. I'd suggest sprinkling some echo statements in various parts of the code to try to determine exactly where the tid is getting corrupted. It's quite possible that it has nothing to do with custom subscriptions, or has been fixed in a new release.
Comment #12
jose reyero commentedNo follow up, so closing.