[CDRIVER-1033] dbpointer not handled in bson-json.c Created: 03/Dec/15 Updated: 04/Dec/15 Resolved: 04/Dec/15 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | libbson |
| Affects Version/s: | 1.3.0-rc0 |
| Fix Version/s: | 1.3.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Hannes Magnusson | Assignee: | Hannes Magnusson |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
This appears to be legit warning? |
| Comments |
| Comment by Githook User [ 04/Dec/15 ] | |||
|
Author: {u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}Message: | |||
| Comment by Hannes Magnusson [ 03/Dec/15 ] | |||
|
Ok. If there is nothing to do for it, then yes, adding a case for it above default is sufficient | |||
| Comment by A. Jesse Jiryu Davis [ 03/Dec/15 ] | |||
|
DBPointer has been deprecated for many years, and therefore there's no Extended JSON representation for DBPointers. The bson type will never be BSON_TYPE_DBPOINTER in that switch statement. (Until I fixed Will this silence the warning?:
|