Bugs item #715813, was opened at 2003-04-05 23:03
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108956&aid=715813&group_id=8956
Category: Admin
Group: v1.6
Status: Open
Resolution: None
Priority: 5
Submitted By: Paul Jackson (beachbum_boy)
Assigned to: Nobody/Anonymous (nobody)
Summary: CVS bug: some rating scale data not exported
Initial Comment:
Ok lets cut the crap and get down to the details:
"the eregi_replace() in the 'response_select_name()'
function in admin/include/lib/espresponse.inc"
behaves differently to:
"the eregi_replace() in the 'survey_generate_cvs()
function in
admin/include/function/survey_generate_csv.inc"
The first prepends the q name before doing the
eregi_replace, the second does it after. This causes the
different behaviuor.
Bascially the result is any 'rank' (rated scale) with
punctuation or "what|which|why|how|who|
where|how|is|are|were|the|a|it|of|do|you|your|please|enter"
at the start of the choice content will not be exported to
the CSV file.
Can be fixed by changing espresponse.inc as follows:
Line 605
from: $str1 = $arr[2];
to: $str1 = $arr[1]."_".$arr[2];
AND
Line 615
from: $arr[1] .= "_$str1";
to: $arr[1] = $str1;
These line numbers may not be exact (I think I hacked
this file a bit)
To see this in action going the demo surveys 'BugBear2'
and try to export the data to a CSV file. NO CAN DO!!
What do you say James can I get on the devel team. ;-)
(email: pa...@ps...)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108956&aid=715813&group_id=8956
|