Activity Comments Conflicts with FBSS & FBSL

Created on 4 March 2010, over 15 years ago
Updated 29 October 2025, 6 days ago

Hi,

I just want to thank Scott and the other maintainers again for this amazing module.

I've encountered a weird javascript bug that occurs while trying to use Facebook style Status module & Facebook style Links (http://drupal.org/project/facebook_link) along with Activity 2.x (Feb 17th dev) comments. Here are the steps to produce the problem.

Setup an Activity 2.x view with Activity comments in a panel to display FBS statuses and nodes.
Setup an FBSS plus FBSL form within the same panel.
Ensure FBSS refreshes the page upon submission of status instead of refreshing a view via AHAH.
Try inputting text into an Activity comment form and press the enter key.

Most often the page will reload without the comment submitted and the page's javascript will be broken. Some of the time a white page (with the url activity/comments/insert) loads with the following displayed:

{ "status": true, "data": "\x3cform action=\"/activity/comments/insert\" accept-charset=\"UTF-8\" method=\"post\" id=\"activity-comments-form\" class=\"activity_comment-comment-form\"\x3e\n\x3cdiv\x3e\x3cspan class=\"activity-comment-show-all\"\x3e\x3ca href=\"#\"\x3eShow all 3 comments\x3c/a\x3e\x3c/span\x3e\x3cdiv class=\"item-list\"\x3e\x3cul id=\"activity_comments-499\" class=\"activity-comment-list\"\x3e\x3cli class=\"activity-comment-wrapper first\"\x3e\x3cdiv class=\'container-inline\'\x3e\n \x3cspan class=\'activity-user\'\x3e\x3ca href=\"/user/londonfuse\" title=\"View user profile.\"\x3eLondonFuse\x3c/a\x3e\x3c/span\x3e\n \x3cdiv class=\'activity-comment\'\x3ehey now\x3c/div\x3e\n\x3c/div\x3e\n\x3cdiv class=\'activity-comments-meta\'\x3e\n \x3cdiv class=\'activity-comments-timestamp\'\x3e\n March 4, 2010 - 2:22pm \x3c/div\x3e\n \x3cdiv class=\'activity-comments-delete\'\x3e\n \x3ca href=\"/activity/comments/delete/2?destination=activity%2Fcomments%2Finsert\"\x3eDelete\x3c/a\x3e \x3c/div\x3e\n \x3c/div\x3e\n\x3c/li\x3e\n\x3cli class=\"activity-comment-wrapper\"\x3e\x3cdiv class=\'container-inline\'\x3e\n \x3cspan class=\'activity-user\'\x3e\x3ca href=\"/user/londonfuse\" title=\"View user profile.\"\x3eLondonFuse\x3c/a\x3e\x3c/span\x3e\n \x3cdiv class=\'activity-comment\'\x3eWhat\x26#039;s up\x3c/div\x3e\n\x3c/div\x3e\n\x3cdiv class=\'activity-comments-meta\'\x3e\n \x3cdiv class=\'activity-comments-timestamp\'\x3e\n March 4, 2010 - 2:22pm \x3c/div\x3e\n \x3cdiv class=\'activity-comments-delete\'\x3e\n \x3ca href=\"/activity/comments/delete/3?destination=activity%2Fcomments%2Finsert\"\x3eDelete\x3c/a\x3e \x3c/div\x3e\n \x3c/div\x3e\n\x3c/li\x3e\n\x3cli class=\"activity-comment-wrapper activity-comment-hidden last\"\x3e\x3cdiv class=\'container-inline\'\x3e\n \x3cspan class=\'activity-user\'\x3e\x3ca href=\"/user/londonfuse\" title=\"View user profile.\"\x3eLondonFuse\x3c/a\x3e\x3c/span\x3e\n \x3cdiv class=\'activity-comment\'\x3edon\x26#039;t like this.\x3c/div\x3e\n\x3c/div\x3e\n\x3cdiv class=\'activity-comments-meta\'\x3e\n \x3cdiv class=\'activity-comments-timestamp\'\x3e\n March 4, 2010 - 2:22pm \x3c/div\x3e\n \x3cdiv class=\'activity-comments-delete\'\x3e\n \x3ca href=\"/activity/comments/delete/4?destination=activity%2Fcomments%2Finsert\"\x3eDelete\x3c/a\x3e \x3c/div\x3e\n \x3c/div\x3e\n\x3c/li\x3e\n\x3c/ul\x3e\x3c/div\x3e\x3cdiv class=\"container-inline\"\x3e\x3cdiv class=\"form-item\" id=\"edit-activity-comment-wrapper\"\x3e\n \x3cinput type=\"text\" maxlength=\"250\" name=\"activity_comment\" id=\"edit-activity-comment\" size=\"25\" value=\"Write a comment\" class=\"form-text activity-comment-text\" /\x3e\n\x3c/div\x3e\n\x3cinput type=\"submit\" name=\"op\" id=\"activity-comment-save-comment-499\" value=\"Add\" class=\"form-submit\" /\x3e\n\x3c/div\x3e\x3cinput type=\"hidden\" name=\"form_build_id\" id=\"form-a49ff87204219acd49ffe4e0f61c3f13\" value=\"form-a49ff87204219acd49ffe4e0f61c3f13\" /\x3e\n\x3cinput type=\"hidden\" name=\"form_token\" id=\"edit-activity-comments-form-form-token\" value=\"2d4394493b41bd0ef63cea96aa3fc260\" /\x3e\n\x3cinput type=\"hidden\" name=\"form_id\" id=\"edit-activity-comments-form\" value=\"activity_comments_form\" /\x3e\n\n\x3c/div\x3e\x3c/form\x3e\n\x3cdiv\x3e\x3ca href=\"/activity/comments/insert?formfilter_id=activity_comments_form\" class=\"active\"\x3eFilter this form\x3c/a\x3e\x3c/div\x3e" }

Any ideas about the underlying problem would be much appreciated. I've attached the view I'm using for what it's worth.

🐛 Bug report
Status

Closed: outdated

Version

2.0

Component

Miscellaneous

Created by

🇨🇦Canada pribeh

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024