Modify

Opened 16 years ago

Last modified 5 years ago

#3495 new enhancement

Use unique database file names for poll result storage

Reported by: HeX Owned by:
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 (6)

comment:1 Changed 14 years ago by Ryan J Ollos

Component: TracHacksPollMacro

comment:2 Changed 14 years ago by Ryan J Ollos

Owner: changed from Alec Thomas to Ryan J Ollos

Reassigning ticket to new maintainer.

comment:3 Changed 12 years ago by Doruk Fisek

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

comment:4 Changed 12 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 12 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).

comment:6 Changed 5 years ago by Ryan J Ollos

Owner: Ryan J Ollos deleted

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.

Add Comment


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

 
Note: See TracTickets for help on using tickets.