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
Component: | TracHacks → PollMacro |
---|
comment:2 Changed 14 years ago by
Owner: | changed from Alec Thomas to Ryan J Ollos |
---|
comment:3 Changed 12 years ago by
Why don't you use database server storage (MySQL, PostgreSQL, etc) like Trac does?
comment:4 Changed 12 years ago by
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
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
Owner: | Ryan J Ollos deleted |
---|
Reassigning ticket to new maintainer.