Ticket #614 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

clearsilver sortable_th macro has moved

Reported by: Matthias Kaschub Assigned to: Blackhex
Priority: normal Component: DiscussionPlugin
Severity: major Keywords:
Cc: Trac Release: 0.10

Description

Stacktrace:

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 315, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 205, in dispatch
    req.display(template, content_type or 'text/html')
  File "/usr/lib/python2.4/site-packages/trac/web/api.py", line 329, in display
    data = self.hdf.render(template)
  File "/usr/lib/python2.4/site-packages/trac/web/clearsilver.py", line 288, in render
    template.parseFile(filename)
ParseError: ParseError: [/var/www/.python-eggs/TracDiscussion-0.5-py2.4.egg-tmp/tracdiscussion/templates/forum-list.cs:15] Undefined macro called: sortable_th(discussion.order, discussion.desc, 'id', 'ID', discussion.href + '?') 

I guess the Problem is, that the clearsilver macro sortable_th() has been moved from macros.cs to browser.cs: http://trac.edgewall.org/changeset/3147

Copying this macro into forum-list.cs seems to solve the problem for me.

Attachments

Change History

08/17/06 09:34:30 changed by mjk@aellaweil.de

same for topic-list.cs, admin-forum-list.cs and admin-group-list.cs

08/17/06 09:43:58 changed by Blackhex

  • status changed from new to assigned.

Possibly fixed in chageset 1131. Please test it on 0.10 as I couldn't.

08/17/06 10:09:07 changed by mjk@aellaweil.de

  • status changed from assigned to closed.
  • resolution set to fixed.

Yupp, works with 0.10 :-)

Thanks!


Add/Change #614 (clearsilver sortable_th macro has moved)




Change Properties
Action