php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #68123 MongoDuplicateKeyException lacks methods for describing what was duplicate
Submitted: 2014-10-01 14:51 UTC Modified: 2014-12-27 21:30 UTC
From: TrashF at gmail dot com Assigned:
Status: Wont fix Package: mongo (PECL)
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
19 + 39 = ?
Subscribe to this entry?

 
 [2014-10-01 14:51 UTC] TrashF at gmail dot com
Description:
------------
MongoDuplicateKeyException only spits out a very informational message, but it could as well provide methods for getting both conflicting index name and conflicting values.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-12-27 21:30 UTC] derick@php.net
-Status: Open +Status: Wont fix
 [2014-12-27 21:30 UTC] derick@php.net
The server does not provide this information, so we can't pass it on through methods or properties in the exception.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 05:01:30 2024 UTC