Skip Menu |

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

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

People
Owner: OLIVER [...] cpan.org
Requestors: shawgreg [...] cisco.com
Cc:
AdminCc:

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



Subject: Validation failed for CalendarItemType 'Exception'
Date: Thu, 1 Apr 2010 09:02:59 +0800
To: <bug-EWS-Client [...] rt.cpan.org>
From: "Greg Shaw (shawgreg)" <shawgreg [...] cisco.com>
If I retrieve a calendar item of type 'Exception' I get the following: Attribute (CalendarItemType) does not pass the type constraint because: Validation failed for '__ANON__' failed with value Exception at .../lib/site_perl/5.8.6/EWS/Calendar/ResultSet.pm line 18 EWS::Calendar::ResultSet::BUILDARGS('EWS::Calendar::ResultSet', 'HASH(0xb1c02f4)') called at generated method (unknown origin) line 5 EWS::Calendar::ResultSet::new('EWS::Calendar::ResultSet', 'HASH(0xb1c02f4)') called at .../localperl/lib/site_perl/5.8.6/EWS/Calendar/Role/RetrieveWithinWindow .pm line 122 EWS::Calendar::Role::RetrieveWithinWindow::retrieve_within_window('EWS:: Client::Calendar=HASH(0x92a0f8c)', 'EWS::Calendar::Window=HASH(0x920a9b0)') called at .../localperl/lib/site_perl/5.8.6/EWS/Calendar/Role/Reader.pm line 10 EWS::Calendar::Role::Reader::retrieve('EWS::Client::Calendar=HASH(0x92a0 f8c)', 'HASH(0x920aea0)') called at ./EWSTest.pl line 25 If I change the data range to exclude this item the retrieval works fine. The wsdl file lists 'Exception' as a valid type for CalendarItemType. I have checked both the ews-services.wsdl included in the distribution and one derived from a 2007 server. The type is present in both. Distribution: EWS-Client-0.06 Perl: 5.8.6 OS: Based on RHEL: Kernel: 2.6.9-78.0.5.Elsmp Cheers, Greg.
Subject: [rt.cpan.org #56188] Validation failed for CalendarItemType 'Exception' SOLVED
Date: Tue, 20 Apr 2010 12:49:13 +0800
To: <bug-EWS-Client [...] rt.cpan.org>
From: "Greg Shaw (shawgreg)" <shawgreg [...] cisco.com>
This is solved. In EWS::Calendar::Item.pm line 78 Exception is mis-spelt as Eception. I had expected that the CalendarTypes were being taken from the wsdl. I didn't expect them to be hard coded (and miskeyed at that). Cheers, Greg.
Hi Greg, On Tue Apr 20 00:49:30 2010, shawgreg@cisco.com wrote: Show quoted text
> In EWS::Calendar::Item.pm line 78 Exception is mis-spelt as Eception.
This is now fixed in a new module release on CPAN. Sorry for the very long delay - I've changed jobs which took a lot of my time this year. In fact, I no longer have access to an Exchange server, which is a pity, although I'm happy to keep servicing what bug/feature requests I can on the module. I'll reply to your other ticket separately. regards, oliver.