Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Truncated CSV export files...

    Hi,

    I'm using CSV export from a ListGrid containing about 2900 records. It exports all 2900 records when I run it in Safari hosted in Eclipse, but when I run it in Safari hosted in Tomcat, it truncates the file to 368 records. When the download starts, it says it'll be downloading about 5 MB, but it abruptly stops after the 368th record and results in a file of only about 804k.

    Anyone run into something similar? Is it possibly a Tomcat setting that I need to increase? Other thoughts?

    Thanks!

    Safari on Mac OSX
    SmartGWT-Power 2.1
    (Also happens if I use Chrome or IE on windows with Tomcat)

    #2
    Never encountered such a limit and we do much larger exports from Tomcat routinely. If you have any servlet filters you've installed, look there first.

    Comment


      #3
      Found the problem: there were some non-standard characters in the data being exported. This could have occurred because someone copy-pasted text from Word (or a browser) into a form text field that then stored those characters into the DB. When the export occurred, it failed exactly at the point where it encountered those errant characters.

      Examples of these non-standard characters include the "em" (aka double-dash or a long dash "--") and stylized quotes (single or double).

      It worked fine when hosted in Eclipse, but bombed when hosted in Tomcat. Nutty!

      Comment

      Working...
      X