Hello, Heh, replying to myself again, but this time I solved it. On Sun, Sep 03, 2006 at 06:27:25PM +0200, Paul van Tilburg wrote: > On Sun, Sep 03, 2006 at 06:01:49PM +0200, Paul van Tilburg wrote: > > I was trying out a current Subversion snapshot of Hobix, especially the > > patch stuff, but I encountered a problem... hobix bailed out halfway the > > patching. I haven't looked into this part of Hobix yet, maybe someone > > here knows rightaway what the problem is? > > > > I ran: hobix patch journal apache2-all > > Hmm, same problems with hobix edit journal too... can't do much now really
It seems that the problem was located in linklist.rb... it seems to be a
bit behind on the current API. The _ operator of the BaseEntry class
wants a key and a hash of options as argument... it looks like this used to
be a list. The trivial patch:
---------
--- lib/hobix/linklist.rb (revision 135)
+++ lib/hobix/linklist.rb (working copy)
@@ -47,7 +47,7 @@
module Hobix
class LinkList < BaseEntry
- _ :links, [:req, :textarea]
+ _ :links, :req => true, :edit_as => :textarea, :text_processor => true
# Converts the link list into a RedCloth string for display
# in templates.
---------
I am not exactly sure about the values of :edit_as and :text_processor though?
Kind regards,
Paul
--
Student @ Eindhoven | email: [EMAIL PROTECTED]
University of Technology, The Netherlands | JID: [EMAIL PROTECTED]
>>> Using the Power of Debian GNU/Linux <<< | GnuPG key ID: 0x50064181
signature.asc
Description: Digital signature
_______________________________________________ Hobix-is-the-way mailing list [email protected] http://rubyforge.org/mailman/listinfo/hobix-is-the-way
