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 235 posts 338 karma points c-trib
    Aug 13, 2012 @ 16:45
    Paul Marden

    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:


    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

    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 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


Please Sign in or register to post replies

Write your reply to: