Forum: Typo Re: Sidebar plugin help

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
unknown (Guest)
on 2007-02-09 12:44
(Received via mailing list)
Guys,

I think this is a bug - can anyone else reproduce?

Create a simple plugin like mine below on Typo 4.0.3 and attempt to
publish it.  That operation should fail, and an error will appear in the
production log indicating something similar to 'unknown method each on
object nil' (I don't have the exact message here as its on my home
computer).

Adding a single setting to the controller allows it to work, ie

$ more gallerysb_controller.rb
class Plugins::Sidebars::GallerysbController < Sidebars::ComponentPlugin

  setting :foo, 'foopie'

  display_name "Gallery"
  description 'gallery stuff'

  def content
  end
end

This problem occurs on OS X

Stephen.
Sean (Guest)
on 2007-02-10 06:41
(Received via mailing list)
Can you publish the exact error log? Preferably when running in
development, for added info.

Regards,

Sean
This topic is locked and can not be replied to.