Modify

Opened 17 years ago

Closed 17 years ago

#1694 closed defect (fixed)

revtreeplugin error on 'show deleted branches'

Reported by: nulleke76@… Owned by: Emmanuel Blot
Priority: normal Component: RevtreePlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

When I enable the 'show deleted branches' option I receive the following error:

Trac detected an internal error:

OperationalError: ERROR: 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.

trac svn latest, revtreeplugin svn latest

Attachments (1)

1694.diff (2.0 KB) - added by Emmanuel Blot 17 years ago.
Patch proposal to fix this issue

Download all attachments as: .zip

Change History (7)

comment:1 Changed 17 years ago by Emmanuel Blot

Well, I never tried to use the plugin with a non-SQLite DB. Are you using PostgreSQL ?

comment:2 Changed 17 years ago by nulleke76@…

Yes, I am using postgresql.

comment:3 in reply to:  2 Changed 17 years ago by Emmanuel Blot

Replying to nulleke76@gmail.com:

Yes, I am using postgresql.

Can you try the attached patch ?

Changed 17 years ago by Emmanuel Blot

Attachment: 1694.diff added

Patch proposal to fix this issue

comment:4 Changed 17 years ago by Emmanuel Blot

You may also need to clean up the database if you get the error from a previous session:

delete from session_attribute where name='revtree.showdel';

comment:5 Changed 17 years ago by nulleke76@…

That patch seem to do the trick. It doesn't give the error anymore.

comment:6 Changed 17 years ago by Emmanuel Blot

Resolution: fixed
Status: newclosed

Ok thanks for the feedback. Fixed in [2832]

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Emmanuel Blot.
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.