Modify

Opened 18 years ago

Closed 18 years ago

#894 closed defect (fixed)

Error when adding a forum group with incomplete data

Reported by: Christian Aust Owned by: Radek Bartoň
Priority: normal Component: DiscussionPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

I wasn't sure what a "forum group" might be and tried to add one, filling just one of the two fields of the form with the value "test". When I try to get to the list of forum groups afterwards, this is what I get:

Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 379, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 237, in dispatch
    req.display(template, content_type or 'text/html')
  File "/usr/lib/python2.3/site-packages/trac/web/api.py", line 357, in display
    data = self.hdf.render(template, form_token)
  File "/usr/lib/python2.3/site-packages/trac/web/clearsilver.py", line 296, in render
    injector.feed(template.render())
  File "/usr/lib/python2.3/HTMLParser.py", line 108, in feed
    self.goahead(0)
  File "/usr/lib/python2.3/HTMLParser.py", line 148, in goahead
    k = self.parse_starttag(i)
  File "/usr/lib/python2.3/HTMLParser.py", line 239, in parse_starttag
    endpos = self.check_for_whole_start_tag(i)
  File "/usr/lib/python2.3/HTMLParser.py", line 314, in check_for_whole_start_tag
    self.error("malformed start tag")
  File "/usr/lib/python2.3/HTMLParser.py", line 115, in error
    raise HTMLParseError(message, self.getpos())
HTMLParseError: malformed start tag, at line 77, column 55

How could I correct the situation? Directly editing the sqlite3 database? And if so, what table and column?

Attachments (0)

Change History (6)

comment:1 Changed 18 years ago by Radek Bartoň

Status: newassigned

Looks like you messed up some template and it is reporting that you don't have valid html page when rendering, but I'll have to look to trac code to be sure.

comment:2 Changed 18 years ago by Radek Bartoň

I don't have line 296 in clearsilver.py in my Trac insallation, what version have you insalled?

comment:3 Changed 18 years ago by Christian Aust

Revision 4199 of http://svn.edgewall.com/repos/trac/branches/0.10-stable (the latest stable 0.10 source)

comment:4 Changed 18 years ago by Radek Bartoň

Resolution: worksforme
Status: assignedclosed

As I said it doesn't look like that it is connected to empty data field when adding group. Try it with original DiscussionPlugin's tempates or check if you don't have unclosed tags in them.

comment:5 Changed 18 years ago by Radek Bartoň

Resolution: worksforme
Status: closedreopened

Oops, I invoked it with latest revision.

comment:6 Changed 18 years ago by Radek Bartoň

Resolution: fixed
Status: reopenedclosed

How could one quotation mark 1538 make such a problems :-).

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.