Modify

Opened 7 years ago

Closed 7 years ago

#1694 closed defect (fixed)

revtreeplugin error on 'show deleted branches'

Reported by: nulleke76@… Owned by: eblot
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 eblot 7 years ago.
Patch proposal to fix this issue

Download all attachments as: .zip

Change History (7)

comment:1 Changed 7 years ago by eblot

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

comment:2 follow-up: Changed 7 years ago by nulleke76@…

Yes, I am using postgresql.

comment:3 in reply to: ↑ 2 Changed 7 years ago by eblot

Replying to nulleke76@gmail.com:

Yes, I am using postgresql.

Can you try the attached patch ?

Changed 7 years ago by eblot

Patch proposal to fix this issue

comment:4 Changed 7 years ago by eblot

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 7 years ago by nulleke76@…

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

comment:6 Changed 7 years ago by eblot

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

Ok thanks for the feedback. Fixed in [2832]

Add Comment

Modify Ticket

Action
as closed .
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.