|  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:
Solve the problem:
22 - 18 = ?
Subscribe to this entry?

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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2014-12-27 21:30 UTC]
-Status: Open +Status: Wont fix
 [2014-12-27 21:30 UTC]
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: Thu Jun 20 20:01:30 2024 UTC