Opened 12 years ago

Closed 12 years ago

#614 closed defect (fixed)

clearsilver sortable_th macro has moved

Reported by: Matthias Kaschub Owned by: Radek Bartoň
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 12 years ago by mjk@…

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

comment:2 Changed 12 years ago by Radek Bartoň

Status: newassigned

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

comment:3 Changed 12 years ago by mjk@…

Resolution: fixed
Status: assignedclosed

Yupp, works with 0.10 :-)


Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Radek Bartoň.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.