Modify

Opened 11 years ago

Closed 11 years ago

#485 closed defect (fixed)

crashes upon making new topic, errors

Reported by: bobbens Owned by: Radek Bartoň
Priority: normal Component: DiscussionPlugin
Severity: blocker Keywords: create topic discussion
Cc: Trac Release: 0.10

Description

I create a new topic with this text exactly:

"""Bueno, aqui deiem una mica l'esquema de que/com ho volem fer.

Jo tinc pensat aquests dies treballar amb algun microkernel i comencar a fer l'estructura del codi pels sensors. Del dia 5-8 hi sere a les jornades del programari lliure (www.jornadespl.org) que es fa a la nostra UPC, per tant sere una mica fora de lloc. El dia 17 vaig als estats units i no se exactament quan torno, pero ho intentare informar.

Potser uns interessaria fer alguna sessio de control abans? pero no crec que doni gaire temps..."""

and I get: Traceback (most recent call last):

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

dispatcher.dispatch(req)

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

resp = chosen_handler.process_request(req)

File "build/bdist.linux-i686/egg/tracdiscussion/core.py", line 232, in process_request File "build/bdist.linux-i686/egg/tracdiscussion/api.py", line 181, in add_topic File "/usr/lib/python2.3/site-packages/trac/db/util.py", line 48, in execute

return self.cursor.execute(sql)

File "/usr/lib/python2.3/site-packages/trac/db/sqlite_backend.py", line 44, in execute

args or [])

File "/usr/lib/python2.3/site-packages/trac/db/sqlite_backend.py", line 36, in _rollback_on_error

return function(self, *args, kwargs)

OperationalError: near "esquema": syntax error

So it seems like it cant handle ['] characters, this is with latest SVN of both TRAC and DISCUSSION plugin.

Attachments (0)

Change History (2)

comment:1 Changed 11 years ago by bobbens

well where it says wiki? it should say ', i put it between brackets thinking wiki formatting wouldnt work.

comment:2 Changed 11 years ago by Radek Bartoň

Resolution: fixed
Status: newclosed

Fixed in changeset 1006.

Modify Ticket

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

Add Comment


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

 
Note: See TracTickets for help on using tickets.