[SERVER-12078] getLastError does not show error after executing an unauthorized write command Created: 12/Dec/13  Updated: 11/Jul/16  Resolved: 12/Dec/13

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 2.5.4
Fix Version/s: 2.5.5

Type: Bug Priority: Major - P3
Reporter: Randolph Tan Assignee: Randolph Tan
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

Note: the return value of the write result shows the error, but calling getLastError afterwards shows no error.



 Comments   
Comment by Githook User [ 12/Dec/13 ]

Author:

{u'username': u'renctan', u'name': u'Randolph Tan', u'email': u'randolph@10gen.com'}

Message: SERVER-12078 getLastError does not show error after executing an unauthorized write command
Branch: master
https://github.com/mongodb/mongo/commit/7b719b476a3ecd7ef213ae8833886278708e33cc

Generated at Thu Feb 08 03:27:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.