Skip Menu |

This queue is for tickets about the EWS-Client CPAN distribution.

Report information
The Basics
Id: 104324
Status: resolved
Priority: 0/
Queue: EWS-Client

People
Owner: OLIVER [...] cpan.org
Requestors: timjph [...] gmail.com
Cc:
AdminCc:

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



Subject: Can't use an undefined value as an ARRAY reference at /Library/Perl/5.16/EWS/Calendar/Role/RetrieveWithinWindow.pm line 12.
Date: Sat, 9 May 2015 14:22:50 +0100
To: bug-EWS-Client [...] rt.cpan.org
From: Tim Hubbard <timjph [...] gmail.com>
Dear Oliver, I've been trying to use your EWS Client to access calendar data. When I run the test script provided, I get: Can't use an undefined value as an ARRAY reference at /Library/Perl/5.16/EWS/Calendar/Role/RetrieveWithinWindow.pm line 12. I've seen this but reported recently by others too without hint of a resolution. http://www.london.pm/pipermail/london.pm/Week-of-Mon-20141110/025531.html The server I'm trying to connect to is outlook.office365.com Best wishes, Tim p.s. I think there's a minor bug in the CPAN example listing - in the line "end => DateTime->now->add( month => 1 )," should be 'months' not 'month' ------------------------------------------------------------------------ Tim Hubbard timjph@gmail.com @timjph ------------------------------------------------------------------------
Subject: Re: [rt.cpan.org #104324] Can't use an undefined value as an ARRAY reference at /Library/Perl/5.16/EWS/Calendar/Role/RetrieveWithinWindow.pm line 12.
Date: Tue, 19 May 2015 09:02:39 +0100
To: <bug-ews-client [...] rt.cpan.org>
From: Oliver Gorwits <oliver [...] cpan.org>
Just to let you know that I can reproduce this, but I've not yet had the time spare for further investigation. regards, oliver. On 2015-05-09 14:23, Tim Hubbard via RT wrote: Show quoted text
> Sat May 09 09:23:03 2015: Request 104324 was acted upon. > Transaction: Ticket created by timjph@gmail.com > Queue: EWS-Client > Subject: Can't use an undefined value as an ARRAY reference at > /Library/Perl/5.16/EWS/Calendar/Role/RetrieveWithinWindow.pm line 12. > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: timjph@gmail.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=104324 > > > > Dear Oliver, > > I've been trying to use your EWS Client to access calendar data. > > When I run the test script provided, I get: > > Can't use an undefined value as an ARRAY reference at > /Library/Perl/5.16/EWS/Calendar/Role/RetrieveWithinWindow.pm line 12. > > I've seen this but reported recently by others too without hint of a > resolution. > > > http://www.london.pm/pipermail/london.pm/Week-of-Mon-20141110/025531.html > > The server I'm trying to connect to is outlook.office365.com > > Best wishes, > > Tim > > p.s. I think there's a minor bug in the CPAN example listing - > in the line "end => DateTime->now->add( month => 1 )," > should be 'months' not 'month' > > > ------------------------------------------------------------------------ > Tim Hubbard > timjph@gmail.com @timjph > > ------------------------------------------------------------------------
Hi Tim, Apologies for the long silence. I've fixed this bug, which was (I think) simply that a failed connection to the server results in zero results returned from the query, and that needed to be handled more gracefully than trying to list an empty set. I've pushed release 1.200001 to CPAN, in case you still want to use the module! regards, oliver. On Sat May 09 09:23:03 2015, timjph@gmail.com wrote: Show quoted text
> Dear Oliver, > > I've been trying to use your EWS Client to access calendar data. > > When I run the test script provided, I get: > > Can't use an undefined value as an ARRAY reference at > /Library/Perl/5.16/EWS/Calendar/Role/RetrieveWithinWindow.pm line 12. > > I've seen this but reported recently by others too without hint of a > resolution. > > http://www.london.pm/pipermail/london.pm/Week-of-Mon- > 20141110/025531.html > > The server I'm trying to connect to is outlook.office365.com > > Best wishes, > > Tim > > p.s. I think there's a minor bug in the CPAN example listing - > in the line "end => DateTime->now->add( month => 1 )," > should be 'months' not 'month' > > ------------------------------------------------------------------------ > Tim Hubbard > timjph@gmail.com @timjph > ------------------------------------------------------------------------
-- regards, oliver.
Subject: Re: [rt.cpan.org #104324] Can't use an undefined value as an ARRAY reference at /Library/Perl/5.16/EWS/Calendar/Role/RetrieveWithinWindow.pm line 12.
Date: Tue, 16 Jun 2015 07:07:14 +0100
To: bug-EWS-Client [...] rt.cpan.org
From: Tim Hubbard <timjph [...] gmail.com>
Thanks Oliver, I updated to your new version and it no longer fails, however it also does not return any events. I'm connecting to outlook.office365.com and I wonder if this version has a newer API that is not supported. Your server_version parameter only discusses Exchange2007 and I assume outlook.office365.com is running something much more recent. Best wishes, Tim On 14 Jun 2015, at 22:37, Oliver Gorwits via RT <bug-EWS-Client@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=104324 > > > Hi Tim, > > Apologies for the long silence. I've fixed this bug, which was (I think) simply that a failed connection to the server results in zero results returned from the query, and that needed to be handled more gracefully than trying to list an empty set. > > I've pushed release 1.200001 to CPAN, in case you still want to use the module! > > regards, > oliver. > > On Sat May 09 09:23:03 2015, timjph@gmail.com wrote:
>> Dear Oliver, >> >> I've been trying to use your EWS Client to access calendar data. >> >> When I run the test script provided, I get: >> >> Can't use an undefined value as an ARRAY reference at >> /Library/Perl/5.16/EWS/Calendar/Role/RetrieveWithinWindow.pm line 12. >> >> I've seen this but reported recently by others too without hint of a >> resolution. >> >> http://www.london.pm/pipermail/london.pm/Week-of-Mon- >> 20141110/025531.html >> >> The server I'm trying to connect to is outlook.office365.com >> >> Best wishes, >> >> Tim >> >> p.s. I think there's a minor bug in the CPAN example listing - >> in the line "end => DateTime->now->add( month => 1 )," >> should be 'months' not 'month' >> >> ------------------------------------------------------------------------ >> Tim Hubbard >> timjph@gmail.com @timjph >> ------------------------------------------------------------------------
> > > -- > regards, > oliver.
------------------------------------------------------------------------ Tim Hubbard timjph@gmail.com @timjph ------------------------------------------------------------------------
On Tue Jun 16 02:07:31 2015, timjph@gmail.com wrote: Show quoted text
> I updated to your new version and it no longer fails, however it also > does not return any events. I'm connecting to outlook.office365.com > and I wonder if this version has a newer API that is not supported. > Your server_version parameter only discusses Exchange2007 and I assume > outlook.office365.com is running something much more recent.
You may well be right. I'd be happy to at least try to update but I don't have access to an Exchange server any more (new or old). Sorry about that. regards. oliver. Show quoted text
> > Best wishes, > > Tim > > On 14 Jun 2015, at 22:37, Oliver Gorwits via RT <bug-EWS- > Client@rt.cpan.org> wrote: >
> > <URL: https://rt.cpan.org/Ticket/Display.html?id=104324 > > > > > Hi Tim, > > > > Apologies for the long silence. I've fixed this bug, which was (I > > think) simply that a failed connection to the server results in zero > > results returned from the query, and that needed to be handled more > > gracefully than trying to list an empty set. > > > > I've pushed release 1.200001 to CPAN, in case you still want to use > > the module! > > > > regards, > > oliver. > > > > On Sat May 09 09:23:03 2015, timjph@gmail.com wrote:
> >> Dear Oliver, > >> > >> I've been trying to use your EWS Client to access calendar data. > >> > >> When I run the test script provided, I get: > >> > >> Can't use an undefined value as an ARRAY reference at > >> /Library/Perl/5.16/EWS/Calendar/Role/RetrieveWithinWindow.pm line > >> 12. > >> > >> I've seen this but reported recently by others too without hint of a > >> resolution. > >> > >> http://www.london.pm/pipermail/london.pm/Week-of-Mon- > >> 20141110/025531.html > >> > >> The server I'm trying to connect to is outlook.office365.com > >> > >> Best wishes, > >> > >> Tim > >> > >> p.s. I think there's a minor bug in the CPAN example listing - > >> in the line "end => DateTime->now->add( month => 1 )," > >> should be 'months' not 'month' > >> > >> ------------------------------------------------------------------------ > >> Tim Hubbard > >> timjph@gmail.com @timjph > >> ------------------------------------------------------------------------
> > > > > > -- > > regards, > > oliver.
> > ------------------------------------------------------------------------ > Tim Hubbard > timjph@gmail.com @timjph > ------------------------------------------------------------------------
-- regards, oliver.