Modify

Opened 9 years ago

Last modified 4 years ago

#3495 new enhancement

Use unique database file names for poll result storage

Reported by: HeX Owned by: Ryan J Ollos
Priority: low Component: PollMacro
Severity: minor Keywords:
Cc: Steffen Hoffmann, Jun Omae Trac Release: 0.11

Description

Currently the PollMacro stores the poll results simply in a file named after the poll question text string. This leads to clashes if the same poll question is used in different tickets or wiki pages. Therefore, changing the file name convention by using unique identifiers (e.g., ticketnumber-question.poll, wikipagename-qestion.poll) would be a nice improvement.

Attachments (0)

Change History (5)

comment:1 Changed 7 years ago by Ryan J Ollos

Component: TracHacksPollMacro

comment:2 Changed 7 years ago by Ryan J Ollos

Owner: changed from Alec Thomas to Ryan J Ollos

Reassigning ticket to new maintainer.

comment:3 Changed 5 years ago by Doruk Fisek

Why don't you use database server storage (MySQL, PostgreSQL, etc) like Trac does?

comment:4 Changed 5 years ago by Ryan J Ollos

That change should be made. I just need to find some time, or someone can provide a patch and I'll work with him/her to get it integrated.

comment:5 Changed 4 years ago by Ryan J Ollos

Cc: Steffen Hoffmann Jun Omae added; anonymous removed

This ticket, in one way or another, should also solve the issue of PollMacro not being thread-safe due to the file not being locked (see comment:2:ticket:10636).

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Ryan J Ollos.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.