Opened 2 years ago

Closed 2 years ago

#13734 closed defect (fixed)

unable to toggle ignore_closed_tickets

Reported by: ealtmann Owned by: Ryan J Ollos
Priority: normal Component: TagsPlugin
Severity: normal Keywords: Tag Tags TagCloud ListTagged
Cc: Trac Release: 1.2


In class TicketTagProvider the _fetch_tkt_tags method called in __init__ seems to attempt to write to the database in a read-only context (with self.env.db_query as db: ...)?

hence it appears that the tags table is never really synchronized with all existing tickets on initialization...and the tags.ignore_closed_tickets setting does not seem to be reflected in the tag cloud or tag lists

Attachments (0)

Change History (1)

comment:1 Changed 2 years ago by Ryan J Ollos

Resolution: fixed
Status: newclosed

In 17659:

TracTags 0.12dev: Use proper context manager

Patch by ealtmann.

Refs #12137, Fixes #13734.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Ryan J Ollos.
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.