Opened 10 years ago

Closed 10 years ago

#614 closed defect (fixed)

clearsilver sortable_th macro has moved

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



Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/", line 315, in dispatch_request
  File "/usr/lib/python2.4/site-packages/trac/web/", line 205, in dispatch
    req.display(template, content_type or 'text/html')
  File "/usr/lib/python2.4/site-packages/trac/web/", line 329, in display
    data = self.hdf.render(template)
  File "/usr/lib/python2.4/site-packages/trac/web/", line 288, in render
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:

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

Attachments (0)

Change History (3)

comment:1 Changed 10 years ago by mjk@…

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

comment:2 Changed 10 years ago by Blackhex

  • Status changed from new to assigned

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

comment:3 Changed 10 years ago by mjk@…

  • Resolution set to fixed
  • Status changed from assigned to closed

Yupp, works with 0.10 :-)


Add Comment

Modify Ticket

as closed The owner will remain Blackhex.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.