Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the MongoDB CPAN distribution.

Maintainer(s)' notes

Please don't report bugs here. Please use the MongoDB Perl driver issue tracker instead.

Report information
The Basics
Id: 55214
Status: resolved
Priority: 0/
Queue: MongoDB

People
Owner: Nobody in particular
Requestors: LEEJO [...] cpan.org
Cc: lee.johnson [...] netbanx.com
AdminCc:

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



CC: lee.johnson [...] netbanx.com
Subject: Test Failure With MongoDB v1.2.4
t/collection.t fails with: not ok 102 # Failed test at t/collection.t line 355. # got: undef # expected: '11000' It looks like the test is checking for 'code' in the last error, but the returned hash from $db->last_error is structured as so: $VAR1 = { 'ok' => '1', 'n' => 0, 'err' => 'E11000 duplicate key errorindex: test_database.test_collection.$_id_ dup key: { : 1 }' };
Thanks for the report, but this has already been resolved by http://jira.mongodb.org/browse/PERL-64.