Skip to content
This repository

Comment on 2 peoples connected raise an error #258

kpitn opened this Issue · 1 comment

2 participants

kpitn Antonio Tapiador
kpitn commented

In the demo :

When i write a comment under : XX and YY are now connected.
This message appears in an pop up :

Activity object relation ids not allowed: [2764], author_id: 632, owner_id: 678

In my application i have this trace :

Started POST "/comments" for XXX.XXX.XXX.XXX. at 2012-04-03 20:52:20 +0200
Processing by CommentsController#create as JS
  Parameters: {"utf8"=>"~\~S", "authenticity_token"=>"Ydy2PxkegQdRZDAU5JeNH7K3Vu3d9ntgHM6C+Ve0sI8=", "comment"=>{"owner_id"=>"1", "_activity_parent_id"=>"413", "text"==
>"Cool"}, "commit"=>"Publier"}
  Rendered /gems/social_stream-base-0.20.0/app/views/comments/create.js.erb (69.1ms)
Completed 500 Internal Server Error in 213ms

ActionView::Template::Error (undefined method `parent' for nil:NilClass):
    1: //Display the new comment
    2: $("#comments_activity_<%= %>").append("<%= escape_javascript(render @comment.post_activity) %>");
    3: $(".activities_comment_btn").hide();
    4: $(".input_new_comments").each(function() {
    5:   $(this).focus().val("").blur();
  social_stream-base (0.20.0) app/views/comments/create.js.erb:2:in `__gems_social_stream_base________app_views_comments_create_js_erb___1138371499563917366_63854980'

Other comments (on post) works correctly

Antonio Tapiador
atd commented

Comment on follow activities is not supported in 2.0

Antonio Tapiador atd closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.