From: <no...@so...> - 2002-10-17 12:52:40
|
Bugs item #624630, was opened at 2002-10-17 12:52 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=624630&group_id=8956 Category: SQL Group: cvs Status: Open Resolution: None Priority: 5 Submitted By: Martin Laarz (mlaarz) Assigned to: Nobody/Anonymous (nobody) Summary: Bug within survey_export_csv.inc (1.8) Initial Comment: Hi, in the Release 1.5RC2 from the CVS (16.10.2002) i found bug within the export function. The File survey_export_csv.inc (1.8) has been fixed for the new-line problem and something else. Exporting the Data of unfilled Fileds to CSV will duplicate the last valid entry with in a line until the next field entry will be exported. The CSV looks like: NACHNAME,VORNAME,STANDORT,BUS,UHRZEIT,UN TERKUNFT,ZIMMMERGEN "Nachname","Vorname","Berlin","Berlin","Berlin",, "Nachname2","Vorname2","Karlsruhe","Ja","Ja",, "Nachname3","Vorname3","Kassel","Kassel","2.00 Uhr","Doppelzimmer", "Nachname4","Vorname4","Saarbrücken","Saarbrücken", "Saarbrücken",,"Niemanden" But it should look like: NACHNAME,VORNAME,STANDORT,BUS,UHRZEIT,UN TERKUNFT,ZIMMMERGEN "Nachname","Vorname","Berlin",,,, "Nachname2","Vorname2","Karlsruhe","Ja",,, "Nachname3","Vorname3","Kassel",,"2.00 Uhr","Doppelzimmer", "Nachname4","Vorname4","Saarbrücken",,,,"Niemanden" It looks like that a var won't be deleted within a loop and copies the value until the loop will find the next entry within da dataset of a response id. Regards Martin ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108956&aid=624630&group_id=8956 |