Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have installed the nodejs module and configured it. I have tried to test it using broadcast message but its not sending messages.
Comment | File | Size | Author |
---|---|---|---|
#2 | nodejs_notify_not-2834552-2.patch | 502 bytes | sriharsha.uppuluri |
Comments
Comment #2
sriharsha.uppuluri CreditAttribution: sriharsha.uppuluri at Azri Solutions commentedAfter spending a 3 hours of time I have found that the safeNodeServerVerion() function is doing a nodejs version check and based on that its displaying the messages. I think there is a type casting issue here. Attaching the patch for the same.
Comment #3
glekli CreditAttribution: glekli commentedThe version number contains periods, which means it's not a valid int. Casting to int would cause data loss.
By the way, this type of check was refined in the d7 version, and needs to be ported to d8. I'll look into that soon.