Closed (won't fix)
Project:
Pollfield
Version:
5.x-1.6
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Nov 2007 at 08:04 UTC
Updated:
23 May 2011 at 19:58 UTC
Jump to comment: Most recent file
Comments
Comment #1
jaydub commentedI ran into this issue as well. My use case is that I am importing forum posts from phpbb which has polls inside forum posts. These polls are optional. I want to maintain this functionality.
By default pollfield.module stores a pollfield and registers a single poll choice even if all poll choices are empty strings. That doesn't seem right to me and results in a lot of useless rows in {pollfields} for polls that were never created. Furthermore, since these unintentional polls are by default active with an unlimited runtime, they will be part of every cron run and show up in /pollfields as active polls.
Karen, I think my patch is a less than elegant approach to this but it does get the job done for now. Any thoughts?
Comment #2
RobertOak commentedworked for me but you need to have the fieldset label and group label hidden in the display fields section, it seems. Thank you for writing this patch.
Comment #3
bryan kennedy commentedWe are no longer supporting the Drupal 5 version of this module and there hasn't been any activity on this issue for several years, so I am closing as won't fix.