Closed (fixed)
Project:
Comment Notify
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Dec 2011 at 10:48 UTC
Updated:
11 Jan 2019 at 17:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
gregglesThe issue seems to be related to adding this module to a site that already had comments and somehow the hash is empty. I'll try to test this out. The hash shouldn't be empty and in the error message it looks non-empty. Not sure what's going on there.
Comment #2
Golem07 commentedThanks a lot for the quick reply.
I do not know if this info helps. But I have just upgraded the site in question from D6.22 to 7.10. Comment notify has not been installed on the previous D6.22 version though.
Comment #3
OddJob commentedI have tried to replicate this using a few different stacks - dev desktop, uniform server, and tried upgrading the site from 6.x to 7.x
I followed the following:
http://drupal.org/node/570162
http://drupal.org/node/224333
http://drupalcode.org/project/drupal.git/blob/refs/heads/7.x:/UPGRADE.txt
I made sure I had some comments in place and that I did NOT have comment_notify installed.
I did the upgrade verified the site was working then installed comment_notify and enabled it.
I did not receive and error and the mail log seems to indicate that the notification is working.
@Golem07 could you specific the module sets and permissions/roles you where using when you experienced this?
At which point did you install the module and how? Manually? Drush? Where did you install the module too? sites/all/modules?
Did you enable it via the admin interface or Drush?
Any details you can provide would be great.
Hope I can help.
Comment #4
lazly commentedI reproduce this problem, and the problem was that in my comment table there was few lines with 'null' value in the name and mail fields. So this bug is alive.
Comment #5
skinSame problem for me, today I tried to install this module but with no luck: I have the same error reported by Golem07 .
I upgraded my site from D6 to D7, like Golem07 did.
Any help?
Comment #6
kscheirerHmm, from the mysql doc on concat: "CONCAT() returns NULL if any argument is NULL." Which seems consistent with the reports above.
Concat_ws claims it will skip null arguments in the list of strings, the attached patch switches to using that. It's a bit of a hack to use the empty string '' as the separator. I'll leave to to greggles to decide if we should handle this another way, not sure what would cause those values to be NULL in the first place.
Comment #7
lazly commentedThis patch is looks like fine, please make more test if you want, and commit it to -dev.
Comment #9
gregglesA similar change was already done in 8.x, so I guess that's another vote for this idea.
Thanks for your help, kscheirer!