Skip Menu |

This queue is for tickets about the Business-Edifact-Interchange CPAN distribution.

Report information
The Basics
Id: 91446
Status: resolved
Priority: 0/
Queue: Business-Edifact-Interchange

People
Owner: ccaimbeul [...] gmail.com
Requestors: bicard.mails.skeeve [...] xoxy.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.04
Fixed in: 0.07



Subject: Warnings and error
When trying to parse a message I get these warnings and one error: given is experimental at C:/strawberry/perl/site/lib/Business/Edifact/Interchange.pm line 114. when is experimental at C:/strawberry/perl/site/lib/Business/Edifact/Interchange.pm line 115. when is experimental at C:/strawberry/perl/site/lib/Business/Edifact/Interchange.pm line 119. when is experimental at C:/strawberry/perl/site/lib/Business/Edifact/Interchange.pm line 124. when is experimental at C:/strawberry/perl/site/lib/Business/Edifact/Interchange.pm line 128. when is experimental at C:/strawberry/perl/site/lib/Business/Edifact/Interchange.pm line 132. Modification of non-creatable array value attempted, subscript -1 at C:/strawberry/perl/site/lib/Business/Edifact/Message.pm line 604, <DATA> line 1. I looked into the code and experimentally added this: if ( scalar @{$self->{lines}} == 0 ) { $self->{lines}->[0]= { free_text => '' }; } Then it parses, but I don#t see from the documentation, what I can do with it. When I run my script, I simply see "Ref:391" at the end, that's it.
On Mon Dec 16 06:23:40 2013, bicard.mails.skeeve@xoxy.net wrote: Show quoted text
> When trying to parse a message I get these warnings and one error: > > given is experimental at > C:/strawberry/perl/site/lib/Business/Edifact/Interchange.pm line 114. > when is experimental at
This should be fixed in release 0.05. Should have caught it earlier, sorry. Show quoted text
> Modification of non-creatable array value attempted, subscript -1 at > C:/strawberry/perl/site/lib/Business/Edifact/Message.pm line 604, > <DATA> line 1.
Can you provide an example of a message, triggering this error?
From: bicard.mails.skeeve [...] xoxy.net
Many thanks for acting this fast! It was just me who did not notice your reply yet. Sorry! I've posted about the problem on perlmonks. Would this be enough for an example? http://www.perlmonks.org/?node_id=1067304
From: bicard.mails.skeeve [...] xoxy.net
On Mon Dec 16 07:50:56 2013, colinsc wrote: Show quoted text
> > given is experimental at > > C:/strawberry/perl/site/lib/Business/Edifact/Interchange.pm line 114. > > when is experimental at
> > This should be fixed in release 0.05. Should have caught it earlier, sorry.
I just installed 0.05 manually (It's not yet available through strawberry perl) and I still get the message: perl -MBusiness::Edifact::Interchange -e "print Business::Edifact::Interchange->VERSION" This prints: given is experimental at C:/strawberry/perl/site/lib/Business/Edifact/Interchange.pm line 115. when is experimental at C:/strawberry/perl/site/lib/Business/Edifact/Interchange.pm line 116. when is experimental at C:/strawberry/perl/site/lib/Business/Edifact/Interchange.pm line 120. when is experimental at C:/strawberry/perl/site/lib/Business/Edifact/Interchange.pm line 125. when is experimental at C:/strawberry/perl/site/lib/Business/Edifact/Interchange.pm line 129. when is experimental at C:/strawberry/perl/site/lib/Business/Edifact/Interchange.pm line 133. 0.05 So 0.05 is really installed and also looking into the mentioned file C:/strawberry/perl/site/lib/Business/Edifact/Interchange.pm I see version 0.0.5.
Subject: Re: [rt.cpan.org #91446] Warnings and error
Date: Thu, 19 Dec 2013 13:27:02 +0000
To: bug-Business-Edifact-Interchange [...] rt.cpan.org
From: Colin Campbell <ccaimbeul [...] gmail.com>
Pushed a release 0.06 that fixes the warnings for newer perls. It also adds support for message level text fields whichwill fix the error you encountered. I've added your test edifact to t/parseinvoice.t and tested retrieval of the text fields. In your test script you need to retrieve the messages and dump those the return from parse does not contain the parsed messages On 17 December 2013 08:41, bicard.mails.skeeve@xoxy.net via RT < bug-Business-Edifact-Interchange@rt.cpan.org> wrote: Show quoted text
> Queue: Business-Edifact-Interchange > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=91446 > > > On Mon Dec 16 07:50:56 2013, colinsc wrote:
> > > given is experimental at > > > C:/strawberry/perl/site/lib/Business/Edifact/Interchange.pm line 114. > > > when is experimental at
> > > > This should be fixed in release 0.05. Should have caught it earlier,
> sorry. > > I just installed 0.05 manually (It's not yet available through strawberry > perl) and I still get the message: > > perl -MBusiness::Edifact::Interchange -e "print > Business::Edifact::Interchange->VERSION" > > This prints: > given is experimental at > C:/strawberry/perl/site/lib/Business/Edifact/Interchange.pm line 115. > when is experimental at > C:/strawberry/perl/site/lib/Business/Edifact/Interchange.pm line 116. > when is experimental at > C:/strawberry/perl/site/lib/Business/Edifact/Interchange.pm line 120. > when is experimental at > C:/strawberry/perl/site/lib/Business/Edifact/Interchange.pm line 125. > when is experimental at > C:/strawberry/perl/site/lib/Business/Edifact/Interchange.pm line 129. > when is experimental at > C:/strawberry/perl/site/lib/Business/Edifact/Interchange.pm line 133. > 0.05 > > So 0.05 is really installed and also looking into the mentioned file > C:/strawberry/perl/site/lib/Business/Edifact/Interchange.pm I see version > 0.0.5. >
From: bicard.mails.skeeve [...] xoxy.net
On Thu Dec 19 08:27:16 2013, colinsc wrote: Show quoted text
> Pushed a release 0.06 that fixes the warnings for newer perls.
It did. Thanks! I still get "Ref:391" though after calling "parse". Where does that come from? Thnaks for your support!
On Fri Dec 20 02:55:57 2013, bicard.mails.skeeve@xoxy.net wrote: Show quoted text
> On Thu Dec 19 08:27:16 2013, colinsc wrote:
> > Pushed a release 0.06 that fixes the warnings for newer perls.
> > It did. Thanks! > > I still get "Ref:391" though after calling "parse". Where does that > come from? > > Thnaks for your support!
Theres a print hanging around from debug will remove it on next release