Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #301 (closed defect: fixed)

Opened 2 years ago

Last modified 1 year ago

Don't wikify topic names

Reported by: larsivi Assigned to: pragma
Priority: major Milestone: WebSite 1.0
Component: Web frontend Version:
Keywords: Cc:

Description

If a CamelCase word is used as part of the topic name, often a class name, this turns into a wiki link in the forum listing. Very problematic in the cases where there is no other part of the name which is clickable.

Change History

03/02/07 04:42:29 changed by larsivi

Also, trying to edit the topic name, I get an error.

Oops…
Trac detected an internal error: 
If you think this really should work and you can reproduce it, you should consider reporting this problem to the Trac team.
Go to http://trac.edgewall.org/ and create a new ticket where you describe the problem, how to reproduce it. Don't forget to include the Python traceback found below.
TracGuide — The Trac User and Administration Guide 
Python Traceback
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 451, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 265, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-i686/egg/tracforums/web_ui.py", line 276, in process_request
  File "build/bdist.linux-i686/egg/tracforums/models/topic.py", line 412, in validateSave
  File "/usr/lib/python2.4/site-packages/trac/db/util.py", line 50, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
TypeError: not all arguments converted during string formatting

03/02/07 04:45:38 changed by larsivi

I also get an error when I try to delete the offending post (HttpProvider?, the one with the non-working link), but maybe that is because I'm not a moderator for that forum?

03/11/07 18:02:05 changed by pragma

  • status changed from new to assigned.

03/11/07 18:47:04 changed by pragma

Thanks for bringing this up Lars - it keeps slipping through the cracks. This will be fixed in r54.

03/13/07 05:06:16 changed by larsivi

  • milestone changed from 0.96 Beta 2 to 0.97 RC 1.

Ok, the topic list is now fine - I'm still not able to delete the (now) duplicate topic - HttpProvider?. Three things there:

  • When I choose it for deletion, it is listed in wiki markup on the next page
  • The button says "delete forums", not "delete topics"
  • And it crash when I click the button:

Python Traceback Traceback (most recent call last):

File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 451, in dispatch_request

dispatcher.dispatch(req)

File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 265, in dispatch

resp = chosen_handler.process_request(req)

File "build/bdist.linux-x86_64/egg/tracforums/web_ui.py", line 295, in process_request File "build/bdist.linux-x86_64/egg/tracforums/models/forum.py", line 234, in load File "build/bdist.linux-x86_64/egg/tracforums/models/forum.py", line 431, in getById File "/usr/lib/python2.4/site-packages/trac/db/util.py", line 50, in execute

return self.cursor.execute(sql_escape_percent(sql), args)

ProgrammingError?: invalid input syntax for integer: "Tango HowTo?"

I'm moving it to the next milestone as the most critical aspect has been fixed.

03/14/07 14:25:01 changed by kris

  • milestone changed from 0.97 RC 1 to WebSite RC1.

04/10/07 16:27:42 changed by pragma

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