[Koha-bugs] [Bug 12622] Exporting report as Open Document Spreadsheet results in Perl error when report has no results

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 25 08:37:04 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12622

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #30067|0                           |1
        is obsolete|                            |

--- Comment #3 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Created attachment 30074
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=30074&action=edit
[PASSED QA] Bug 12622: Fix export report as ods

Bug 11679 introduces an ods export for reports.

It looks quite buggy:
1/ You get a Perl error if the report has no results
2/ The ods file contains 1 lines less than the total results.

Test plan:
After applying this patch, try to export a report which has no results
and verify you get an ods file with headers only.
Try to export a report which has a least 1 result and verify the
generated ods has the right number of lines.

Signed-off-by: Robert Higgins <robert.higgins at catalyst.net.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
Fixes the reported problem, passes all tests and QA script.
Added the sign-off line for Robert.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list