Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Paul Marden 233 posts 335 karma points c-trib
    Aug 13, 2012 @ 16:45
    Paul Marden
    0

    Excel file download is truncated

    We've been using DEWD successfully for a few months but just noticed that one of our queries isn't exporting to Excel properly.  The xml file ends:

      </ss:Worksheet>
    </ss:Workboo

    missing the last couple of characters.  This is on all browsers but only for the query.

    Have you got any ideas what's causing this?

    Umbraco 4.7.2

    DEWD 1.2

  • Sune Bøegh 64 posts 374 karma points
    Aug 13, 2012 @ 23:07
    Sune Bøegh
    0

    Hi Paul,

    Yup, it seems there is a bug in the content-length calculation code - I forgot about encoding, so your query probably outputs unicode characters, which makes the content length differ from the number of charaters in the xml.

    Anyway, I wrote up a quick patch you can download from https://dl.dropbox.com/u/4885334/Dewd.Patch.20120813.zip. It contains both a new binary (based on Latest Build) to put in /bin and a new cs-file for just the button in case you don't want to overwrite the main binary

    - Sune

     

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies