Active
Project:
Pollfield
Version:
6.x-1.13-beta1
Component:
Performance
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
27 Apr 2011 at 07:26 UTC
Updated:
17 Jun 2011 at 02:18 UTC
Lets say we allow pollfields on our forum topics. Now every time someone creates a forum topic, pollfield writes a record to the database containing mostly blank or default value fields. It should not be writing anything to the database unless the pollfield form has a question filled in at least.
Comments
Comment #1
mr.j commentedI should have added that records are written to {pollfield} and {content_field_poll} - the 2nd would vary depending on your CCK setup.
Comment #2
bryan kennedy commentedAssigning this to performance to help organize the issue queue. Glad you spelled this out mr.j
Comment #3
bryan kennedy commentedClarifying the title a bit. The main issue here is that the pollfield code should check to see if there is any user input before doing ANY database calls. Right now it's writing empty fields or fields with " ".
I've made a bit of progress on eliminating some of these situations but haven't fully fixed it. This issue is related to some of problem here [1168408].
Comment #4
giorgio79 commented#1168408: Choices fields lost when editing a node with more than 2 pollfields :)