Modify

Opened 3 years ago

Closed 23 months ago

#9247 closed defect (duplicate)

Cast authenticated values to int

Reported by: rea Owned by: doki_pen
Priority: high Component: AnnouncerPlugin
Severity: critical Keywords:
Cc: Trac Release: 0.12

Description

After upgrade to the lastest /trunk contents (r10743) my PostgreSQL server spitted an error about comparison of the subscription_attribute.authenticated with the boolean value and the problematic code was inside announcer/model.py.

Seems like model.py has the old code from pre-int era for the authenticated field.

The patch at http://codelabs.ru/fbsd/ports/trac-announcer/authenticated-int-cast.diff fixes the problem for me.

Attachments (0)

Change History (3)

comment:1 Changed 3 years ago by rea

Hi! Can this patch be reviewed?

Thanks.

comment:2 Changed 23 months ago by rea

Anyone?

comment:3 Changed 23 months ago by rjollos

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

Duplicate of #10384, which has a patch attached to the ticket.

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.