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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: TrashF at gmail dot com
New email:
PHP Version: OS:

 

 [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-2020 The PHP Group
All rights reserved.
Last updated: Sat Oct 31 16:01:24 2020 UTC