1

Closed

Bug exporting with dowload options.

description

Hello,

I've problem exporting the users selecting download option.
I've attached an example of xml userExport. You can see that after the users content there is the html code of the page.
But It works when the export File was saved In Portal Home Directory or Sub-Folder.
I saw the code but i can't fix the bug, i'm using DNN Platform.

Best Regards
Sirag

file attachments

Closed Mar 7, 2015 at 3:12 AM by imagemaker
Could not reproduce in maintenance release 02.00.01. Apparently I had made the suggested code modification as suggested by "Sirag" for internal use. This was then incorporated in the 20.00.01 maintenance release

comments

imagemaker wrote Sep 15, 2013 at 1:54 AM

Which version of DNN Platform is installed?

I'm assuming it is 7.x as I was able to reproduce this in a 7.01.01 install but not in a 6.2.6 install. It appears that after streaming the report's xml to the HTTP response, normal page content is getting appended even though the HTTP response is flushed and ended. I'll have to spend some time tracking down the problem.

wrote Sep 15, 2013 at 1:57 AM

sirag wrote Sep 15, 2013 at 6:19 PM

the latest 7.01.01
Also I try to fix but I can't...

sirag wrote Sep 17, 2013 at 4:58 PM

in the 7.01.01 this work:

case ExportDestinations.Download:
                _response.Flush();
                // _response.End();
                _response.ClearContent();
                _response.Close();
                break;

wrote Mar 7, 2015 at 3:12 AM