Found this related issue:
http://github.com/bborn/communityengine/commit/409f4c852e2f7e6598c0eae150df53db412d216c
I'm using SQLite3 also.
I hope this gets fixed in the code, so that it is not dependent on the
string conversion behavior of the database.
On Sep 3, 2:28 pm, Tibo <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I'm new here, so please forgive me if I am making some mistake.
>
> I downloaded CE yesterday, been testing it and doing some
> customizations using themes and localization. In the course of testing
> I encountered this error:
>
> NoMethodError in Sb postsController#create
> You have a nil object when you didn't expect it!
> The error occurred while evaluating nil.locked?
>
> It seems it is in line 51 of sb_posts_controller.rb,
>
> @topic = Topic.find_by_id_and_forum_id(params[:topic_id],
> params[:forum_id], :include => :forum)
>
> the find method did not come up with a record because the parameters
> were:
>
> {"commit"=>"Save Reply",
> "post"=>{"body"=>"<p>this is a reply</p>\r\n<p> </p>"},
> "authenticity_token"=>"2d5313e3318a553675d97b66ab5f262ef4adf579",
> "forum_id"=>"7-Bug-Reports",
> "page"=>"1",
> "topic_id"=>"10-replying-to-a-topic-results-in-error"}
>
> forum_id should be 7 and topic_id should be 10.
>
> Have I done something wrong during installation, or is this a bug in
> the current code?
>
> Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CommunityEngine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/communityengine?hl=en
-~----------~----~----~----~------~----~------~--~---