Skip Menu |

This queue is for tickets about the WebService-Cmis CPAN distribution.

Report information
The Basics
Id: 79914
Status: resolved
Priority: 0/
Queue: WebService-Cmis

People
Owner: Nobody in particular
Requestors: jlander [...] radium.ncsc.mil
Cc:
AdminCc:

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



Subject: WebService-Cmis-0.07
Distribution Name and Version: WebService-Cmis-0.07 Perl Version: Perl v5.12.1 Operating Sytem Information: GNU/Linux v2.6.18-164.el5 Ran cmis-perl module test 01-basics.t (prove –lvd –i./inc t/01-basics.t) against Nuxeo CMS Server and got the following error message: Signal SEGV at /my/perl5/location/perl5/WebService/Cmis/Repository.p line 835. WebService::Cmis::Repository::createObject(‘WebService::Cmis::Repository=HASH(0x1417fb90)’, ‘WebService::Cmis::Folder=HASH(0x14278f18)’, ‘properties’, ‘ARRAY(0x142d0498)’, ‘summary’, ‘this is a test folder used by WebService::Cmis\’ testsuite’) called at /my/perl5/location/perl5/WebService/Cmis/Repository.pm line 1192 … … Using the perldebugger, found that the createEntryXmlDoc method in Repository.pm attempts to set the same attribute twice on the atom entry element. Commenting line 698 of WebService/Cmis/Repository.pm fixed the problem. 691 sub createEntryXmlDoc { … 697 my $entryElement = $xmlDoc->createElementNS(ATOM_NS, "entry"); 698 #$entryElement->addChild($xmlDoc->createAttribute('xmlns:app', APP_NS)); 699 $entryElement->addChild($xmlDoc->createAttribute('xmlns:app', APP_NS)); … Please apply this patch and release a new version at your earliest convenience. Janice
Fixed in 0.08.