Skip Menu |

This queue is for tickets about the ServiceNow-SOAP CPAN distribution.

Report information
The Basics
Id: 110953
Status: rejected
Priority: 0/
Queue: ServiceNow-SOAP

People
Owner: GFLEWIS [...] cpan.org
Requestors: steven.wechsler [...] viacom.com
Cc:
AdminCc:

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



Subject: warning/messages while testing example code
Date: Wed, 6 Jan 2016 18:59:03 +0000
To: "bug-ServiceNow-SOAP [...] rt.cpan.org" <bug-ServiceNow-SOAP [...] rt.cpan.org>
From: "Wechsler, Steven" <steven.wechsler [...] viacom.com>
I wrote a script similar to the examples in your documentation: ###################### #! /usr/bin/perl -w use ServiceNow::SOAP; use Data::Dumper; my ($user, $password); $user = "myuser"; $password = "mypass"; my $sn = ServiceNow("mycompany", $user, $password); my $computer_tbl = $sn->table("cmdb_ci_computer"); my $incident_tbl = $sn->table("incident"); my @recs = $computer_tbl->getRecords( "location.name" => "mylocation", "operational_status" => "1", __order_by => "name", __limit => 50); print Dumper(@recs); ###################### And received the following warnings/messages (although the script did work): "my" variable $sysid masks earlier declaration in same scope at /usr/lib/perl5/site_perl/5.8.8/ServiceNow/SOAP.pm line 716. Day too big - 41661 > 24855 Sec too small - 41661 < 74752 Sec too big - 41661 > 11647 <data> ... Thanks for your work on this! Steve Wechsler Viacom Media Networks
Subject: Re: [rt.cpan.org #110953] warning/messages while testing example code
Date: Sat, 9 Jan 2016 13:46:51 -0500
To: bug-ServiceNow-SOAP [...] rt.cpan.org
From: Giles Lewis <gileslewis3 [...] gmail.com>
Hi Steve. I have not been able to reproduce your warning. In my copy of ServiceNow/SOAP.pm line 716 is in the middle of a perldoc block, so it does not make sense to me that you are getting a warning from that line. However, it could be that the perldoc is getting stripped from the file as part of the installation. Can you please send me a copy of the file file /usr/lib/perl5/site_perl/5.8.8/ServiceNow/SOAP.pm. Please also provide the following information: * What version of ServiceNow are you using? * What version of ServiceNow::SOAP are you using? * What OS are you running? Maybe this will enable to diagnose the source of your warning. Thanks Giles Lewis On 1/6/16 1:59 PM, Wechsler, Steven via RT wrote: Show quoted text
> Wed Jan 06 13:59:18 2016: Request 110953 was acted upon. > Transaction: Ticket created by steven.wechsler@viacom.com > Queue: ServiceNow-SOAP > Subject: warning/messages while testing example code > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: steven.wechsler@viacom.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=110953 > > > > I wrote a script similar to the examples in your documentation: > ###################### > #! /usr/bin/perl -w > > use ServiceNow::SOAP; > use Data::Dumper; > > my ($user, $password); > $user = "myuser"; > $password = "mypass"; > > my $sn = ServiceNow("mycompany", $user, $password); > > my $computer_tbl = $sn->table("cmdb_ci_computer"); > my $incident_tbl = $sn->table("incident"); > > my @recs = $computer_tbl->getRecords( > "location.name" => "mylocation", > "operational_status" => "1", > __order_by => "name", > __limit => 50); > > print Dumper(@recs); > ###################### > > And received the following warnings/messages (although the script did work): > > "my" variable $sysid masks earlier declaration in same scope at /usr/lib/perl5/site_perl/5.8.8/ServiceNow/SOAP.pm line 716. > Day too big - 41661 > 24855 > Sec too small - 41661 < 74752 > Sec too big - 41661 > 11647 > <data> > ... > > Thanks for your work on this! > > Steve Wechsler > Viacom Media Networks > > >
RT-Send-CC: gileslewis3 [...] gmail.com
Not reproducible. Please re-submit if you are still having issues. Thanks.