Needs review
Project:
Webform Views Submitted Data
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Nov 2012 at 16:48 UTC
Updated:
21 May 2013 at 02:56 UTC
Jump to comment: Most recent file
Comments
Comment #1
wdseelig commentedThis module will not display data entered into a textarea field in a webform.
Very frustrating.
Comment #2
tlupfer commentedInformation was being grabbed via a cid associated with wrong node id. This affected only sites with webforms on multiple nodes. Attached patch added a node id. Also using patch http://drupal.org/files/nid-fix-1321432-3.patch
Comment #3
tlupfer commentedStill experiencing issues with node overlap when they shared a field key. Patched to group things by node. note: includes previous patch and http://drupal.org/files/nid-fix-1321432-3.patch
Comment #4
wdseelig commentedHere was my "fix" for this ...
This issue is not completely fixed -- at least not as of 6.x-1.3.
If you can't change group_concat_max_len [and godaddy will not let me do so] then you have no way of getting around this problem.
EXCEPT. The place in the webform_mysql_views module that retrieves the webform data is around line 352 and contains the following code:
$component = sprintf("(SELECT GROUP_CONCAT (data) FROM {webform_submitted_data} AS child WHERE child.sid = parent.sid AND cid = %d) AS `%s`, ", $row['cid'], $row['form_key']);
Simply remove the GROUP_CONCAT from this code, and you'll find that the table stores the data as a longtext instead of a varchar(341).
Bigger point: Why would be need to be doing a GROUP_CONCAT anyway? For a given (sid,cid) combination there would only be ONE data field, right??
Comment #5
escoles commentedAfter applying these patches, I get 27 empty results pages, with the following error:
EDIT: I applied only the last patch from #1321432: No values for fields and the error goes away. so, caused by something in the last patch from this issue (or some interaction with something else, but I guess that goes without saying).
Comment #6
lizac commentedI applied the patches but it only worked for a certain webform submitted results.
We have several webforms and the one I'm trying to retrieve is mot displaying any submitted data.
Anyone can help me understand why?