Skip Menu |

This queue is for tickets about the Spreadsheet-Wright CPAN distribution.

Report information
The Basics
Id: 131334
Status: resolved
Priority: 0/
Queue: Spreadsheet-Wright

People
Owner: Nobody in particular
Requestors: MERKYS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.105
Fixed in: (no value)



Subject: addsheet() fails for ODS format
The following code should work, but fails: use strict; use warnings; use Spreadsheet::Wright; my $s = Spreadsheet::Wright->new( file => "file.ods", format => "ods" ); $s->addsheet( "first" ); $s->addrow( 1, 2, 5 ); die $s->error if $s->error; $s->close; The output: Can't call method "addNewChild" on an undefined value at /usr/share/perl5/Spreadsheet/Wright/OpenDocumentXML.pm line 75. (in cleanup) Can't call method "toString" on an undefined value at /usr/share/perl5/Spreadsheet/Wright/OpenDocumentXML.pm line 133. Setting severity to important, as this essentially renders multisheet ODS spreadsheets unachievable.
Subject: addsheet() fails for ODS format: patch
On Thu Jan 02 11:13:00 2020, MERKYS wrote: Show quoted text
> Suggested patch in GitHub, https://github.com/tobyink/p5-spreadsheet- > wright/pull/2
There were problems with this PR, thus I have opened a new one: https://github.com/tobyink/p5-spreadsheet-wright/pull/3
Thanks. Releasing 0.106 today.