Opened 8 years ago

Last modified 4 years ago

#3495 new enhancement

Use unique database file names for poll result storage

Reported by: dietmarw Owned by: rjollos
Priority: low Component: PollMacro
Severity: minor Keywords:
Cc: hasienda, jun66j5 Trac Release: 0.11


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 6 years ago by rjollos

  • Component changed from TracHacks to PollMacro

comment:2 Changed 6 years ago by rjollos

  • Owner changed from athomas to rjollos

Reassigning ticket to new maintainer.

comment:3 Changed 4 years ago by dfisek

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

comment:4 Changed 4 years ago by rjollos

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 rjollos

  • Cc hasienda jun66j5 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).

Add Comment

Modify Ticket

as new The owner will remain rjollos.

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

Note: See TracTickets for help on using tickets.