[JAVA-343] certain error from server may be returned as actual data on a find. Need to check RESULTFLAG_ERRSET and do throwOnError() Created: 02/May/11  Updated: 12/Aug/12  Resolved: 12/Aug/12

Status: Closed
Project: Java Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Antoine Girbal Assignee: Antoine Girbal
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Moving out of release until we get a use case.



 Comments   
Comment by Jeffrey Yemin [ 12/Aug/12 ]

There should always be an $err, so there's no need to check this.

Comment by Antoine Girbal [ 04/Jun/12 ]

probably not a big deal, just this flag is never checked:

    public static final int RESULTFLAG_ERRSET = 2;

Instead driver relies on "err" or "errmsg" being present in document.
I have no example of server errors not including those.

Comment by Jeffrey Yemin [ 10/Mar/12 ]

Please provide more details please, like a use case to try.

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