Modify

Opened 9 years ago

Closed 9 years ago

#2802 closed defect (worksforme)

Cant save Announcer preferences on Postgres backend db

Reported by: anonymous Owned by: Robert Corsaro
Priority: normal Component: AnnouncerPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

This is what happens:

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/trac/web/main.py", line 398, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/trac/web/main.py", line 220, in dispatch
    req.session.save()
  File "/usr/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/trac/web/session.py", line 184, in save
    "VALUES(%s,%s,%s,%s)", attrs)
  File "/usr/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/trac/db/util.py", line 57, in executemany
    return self.cursor.executemany(sql_escape_percent(sql), args)
  File "/usr/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/trac/db/util.py", line 57, in executemany
    return self.cursor.executemany(sql_escape_percent(sql), args)
ProgrammingError: column "value" is of type text but expression is of type boolean
LINE 1: ...RT INTO session_attribute (sid,authenticated,name,value) VAL...
                                                             ^
HINT:  You will need to rewrite or cast the expression.


Attachments (0)

Change History (3)

comment:2 Changed 9 years ago by Robert Corsaro

Owner: changed from Stephen Hansen to Robert Corsaro
Status: newassigned

comment:3 Changed 9 years ago by Robert Corsaro

Resolution: worksforme
Status: assignedclosed

maybe the trac code has been fixed?

Modify Ticket

Action
as closed The owner will remain Robert Corsaro.
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.