Ticket #1694 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

revtreeplugin error on 'show deleted branches'

Reported by: nulleke76@gmail.com Assigned to: 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

1694.diff (2.0 kB) - added by eblot on 11/25/07 16:07:51.
Patch proposal to fix this issue

Change History

06/27/07 17:58:32 changed by eblot

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

(follow-up: ↓ 3 ) 11/25/07 04:41:58 changed by nulleke76@gmail.com

Yes, I am using postgresql.

(in reply to: ↑ 2 ) 11/25/07 16:07:25 changed by eblot

Replying to nulleke76@gmail.com:

Yes, I am using postgresql.

Can you try the attached patch ?

11/25/07 16:07:51 changed by eblot

  • attachment 1694.diff added.

Patch proposal to fix this issue

11/25/07 16:09:13 changed 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';

11/26/07 01:04:07 changed by nulleke76@gmail.com

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

11/27/07 17:29:34 changed by eblot

  • status changed from new to closed.
  • resolution set to fixed.

Ok thanks for the feedback. Fixed in [2832]


Add/Change #1694 (revtreeplugin error on 'show deleted branches')




Change Properties
Action