[DRIVERS-281] Rephrase unsupported/corrupt BSON messages Created: 15/Jan/16 Updated: 22/Feb/23 Resolved: 22/Feb/23 |
|
| Status: | Closed |
| Project: | Drivers |
| Component/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Hannes Magnusson | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||
| Driver Compliance: |
|
||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
Soon – pretty very soon – MongoDB will be introducing new BSON types. Currently most drivers fail with very confusing error messages, especially if you are actually connected to a MongoDB supporting these types. This ticket is about unifying this error message to be more friendly and possibly alerting the user that newer drivers may support this type and the BSON may not actually be corrupt as currently reported.
Where
The type name should be represented in hex confirming to our BSON Spec convention '\x00'. The field name may not be possible to include in drivers, but drivers SHOULD make BEST EFFORT to include it. It helps our users a great deal as they could potentially project that field out as a poor mans workaround. Please ensure this is done for all currently actively - AND INACTIVELY - maintained drivers. |
| Comments |
| Comment by Githook User [ 16/Mar/16 ] |
|
Author: {u'username': u'jmikola', u'name': u'Jeremy Mikola', u'email': u'jmikola@gmail.com'}Message: PHP-1501: Rephrase exception message for unsupported/corrupt BSON type Per |
| Comment by Githook User [ 16/Mar/16 ] |
|
Author: {u'username': u'jmikola', u'name': u'Jeremy Mikola', u'email': u'jmikola@gmail.com'}Message: PHP-1501: Rephrase exception message for unsupported/corrupt BSON type Per |
| Comment by Githook User [ 16/Mar/16 ] |
|
Author: {u'username': u'jmikola', u'name': u'Jeremy Mikola', u'email': u'jmikola@gmail.com'}Message: PHP-1501: Rephrase exception message for unsupported/corrupt BSON type Per |