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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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: Tue Apr 23 20:01:29 2024 UTC