https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23685

--- Comment #14 from David Cook <[email protected]> ---
(In reply to Aleisha Amohia from comment #13)
> We've received sponsorship to try and fix the ODS export format.
> 
> Any ideas are welcome, we're working on this now

You'll want to go with a streaming response for all formats. Instead of putting
everything into $content, you'll want to print to STDOUT line by line to save
memory. 

However, I don't know why I didn't mention it before, but even if you tried to
do a streaming response where each row was written out to STDOUT one by one, it
won't work as expected because Koha uses Plack::App::CGIBin. You can see fully
explanations in bug 8437 and bug 26791 in my comments there. Basically, the
whole response gets buffered in a temporary file before it's sent to the Apache
proxy to send back to the client. 

Plus, for ODS, you'll have to wait for the content of generate_ods as well. (If
you want to see a possible cheeky solution for that, you can check out bug
31744. Not sure if it'll work for ODS like it works for CSV though.)

Anyway, just some thoughts...

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to