-
Type:
Bug
-
Resolution: Gone away
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
PHP Drivers
-
None
-
None
-
None
-
None
-
None
-
None
When an exception is thrown by Document::fromBSON() or by toPHP(), there is no way to advance the cursor.
The BSON is parsed into a Document in the advance() method before actually advancing.
IMO the parsing should be done in the current(), which can be easily caught and ignored, allowing the cursor to move on.
I got the following error: Detected corrupt BSON data for field path 'extra.debug_data_from_embedded.0.K' at offset 0
- related to
-
CXX-3240 Clarify BSON validity requirements or lack thereof in the API
-
- Backlog
-