I get the above error when
1. Add "Add ajax comment" to a view
2. click on the add comment link in a view or if I click on edit, reply, delete
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | ajax-error-2299709-9.patch | 681 bytes | hitfactory |
I get the above error when
1. Add "Add ajax comment" to a view
2. click on the add comment link in a view or if I click on edit, reply, delete
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | ajax-error-2299709-9.patch | 681 bytes | hitfactory |
Comments
Comment #1
socialnicheguru commentedline 101 is a typo:
should be the following I think:
Comment #2
braindrift commented@SocialNickeGuru
does
options.data['nodejs_client_socket_id'] = Drupal.Nodejs.socket.sessionid;work for you?Comment #3
socialnicheguru commentedits in nodejs/nodejs.js line 101
Yes it seems to have worked for me.
Comment #4
socialnicheguru commentedthis is still an issue.
Comment #5
neograph734Are you sure? Just checked line 101 of a fresh download (7.x-1.9) and it reads
options.data['nodejs_client_socket_id'] = Drupal.Nodejs.socket.sessionid;Comment #6
neograph734It seems however that this related to an issue I've recently created, where
Drupal.Nodejs.socket.sessionidis not defined.Comment #7
socialnicheguru commentedI think the error is in the dev version
Comment #8
neograph734I should learn to read better... Can you confirm Drupal.Nodejs.socket.sessionid; is set in dev? As in 1.9 it is undefined. Perhaps I should switch to dev as well.
Comment #9
hitfactory commentedConfirming the fix suggested by SocialNicheGuru in #1 works with latest dev so adding patch for review.
Comment #10
geresy commentedworks great, thanks for this! #1 saved the day
Comment #11
socialnicheguru commentedthis has been working for me for quite sometime.
Comment #12
socialnicheguru commentedComment #13
formatC'vt commentedconfirm, patch fix this bug
Comment #14
neograph734The recently committed patch here #2288625: socket.sessionid has gone away? might need to be changed here as well as posted by rhclayto.
Comment #15
neograph734Comment #16
socialnicheguru commentedSo according to the following does "sessionid" have to be changed to "socket.id":
https://www.drupal.org/node/2288625#comment-9842725