Skip Menu |

This queue is for tickets about the MOBY CPAN distribution.

Report information
The Basics
Id: 83476
Status: open
Priority: 0/
Queue: MOBY

People
Owner: Nobody in particular
Requestors: josemrc [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: Bug in retrieveService() MOBY::Central
Hello Eddi, How are you? I am Jose Rodríguez, a member of INB (www.inab.org). We have found two small bugs in MOBY in Perl, to be precise in the sub sub retrieveService() // line 2621 (MOBY::Central) 1. If there is not services, "retrieveService()" should be return "<Service/>" instead of " <Services/>". 2. In the following lines: my $servlsid = $SI->lsid; my $wsdls; return "<Service/>" unless ($SI); If $SI is not defined, it would be an error. So, to fix it. return "<Service/>" unless ($SI); my $servlsid = $SI->lsid; my $wsdls; We don't mind to be in charge of MOBY code of CPAN but we need you transfer the module. Is that possible? I have written to Mark talking about this. Best Regards, J
Just send the updated code my way Jose and I will release it. You can create a distribution by calling "make dist". Just make sure that you can run the tests for the distribution you make and install it on a different machine then the one you created it with. On Wed Feb 20 07:38:40 2013, josemrc wrote: Show quoted text
> Hello Eddi, > > How are you? > > I am Jose Rodríguez, a member of INB (www.inab.org). > > We have found two small bugs in MOBY in Perl, to be precise in the sub > sub retrieveService() > // line 2621 (MOBY::Central) > > 1. If there is not services, "retrieveService()" should be return > "<Service/>" instead of " > <Services/>". > 2. In the following lines: > my $servlsid = $SI->lsid; > my $wsdls; > return "<Service/>" unless ($SI); > If $SI is not defined, it would be an error. So, to fix it. > return "<Service/>" unless ($SI); > my $servlsid = $SI->lsid; > my $wsdls; > > We don't mind to be in charge of MOBY code of CPAN but we need you > transfer the module. > Is that possible? > > I have written to Mark talking about this. > > Best Regards, > J