Go ahead and add it. If nothing else, it has a good stack trace, so
it should be easy enough to fix.
Scott
On 7/18/06, Steve Longdo <[EMAIL PROTECTED]> wrote:
> Running MySQL/Lightty on r1139. The following happens after posting through
> the admin interface. No textfilter was used/selected. Not sure if this the
> same as Trac ticket #948 or not. Didn't want to enter a ticket if it is the
> same issue.
>
> NOTE: The published date was not populated with anything and I entered a
> past date. When I return to the admin/articles page, it is there, but the
> same error happens after clicking on it. Also it breaks when trying to load
> the homepage?
> NoMethodError in Admin/content#show
>
> Showing app/views/admin/content/show.rhtml where line #11
> raised: undefined method `filter_text_for_controller' for
> #<String:0x225e59c>
>
>
> Extracted source (around line #11): 8: <h3><%=h @article.title %></h3>
> 9:
> 10: <div class="form">
> 11: <div><%= @article.full_html %></div>
> 12: <p class="meta"><label>Posted:</label> <%=h @
> article.published_at.to_formatted_s(:long_weekday) %> by
> <%=h @article.author %></p>
> 13: <p class="meta"><label>Last updated:</label> <%=h
> @article.updated_at.to_formatted_s
> (:long_weekday) %></p>
> 14: <p class="meta"><label>Published:</label> <%=h
> (@article.published? ? "Yes" : "No") %></p>
>
> #{RAILS_ROOT}/app/models/content.rb:132:in
> `populate_html_fields'
>
> #{RAILS_ROOT}/app/models/content.rb:130:in
> `populate_html_fields'
> #{RAILS_ROOT}/app/models/content.rb:140:in `html'
> #{RAILS_ROOT}/app/models/content.rb:126:in `full_html'
> #{RAILS_ROOT}/app/views/admin/content/show.rhtml:11:in
> `_run_rhtml_admin_content_show'
>
>
>
> Looking at the data stored in the table shows that body_html is NULL? The
> textfilter that is stored looks like this:
> --- !ruby/object:TextFilter
> attributes:
> name: none
> filters: --- []
> params: --- {}
> description: None
> markup: none
> new_record: true
>
> Do I need to add a new ticket to Trac?
>
> --
> Thanks,
> -Steve
> http://www.stevelongdo.com
> _______________________________________________
> Typo-list mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/typo-list
>
>
_______________________________________________
Typo-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/typo-list