Modify

Opened 10 years ago

Closed 10 years ago

#485 closed defect (fixed)

crashes upon making new topic, errors

Reported by: bobbens Owned by: Blackhex
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 10 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 10 years ago by Blackhex

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

Fixed in changeset 1006.

Add Comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.