[JAVA-1675] CodecRegistryHelper.fromRegistries does not properly resolve Codecs Created: 05/Mar/15 Updated: 31/Mar/15 Resolved: 06/Mar/15 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Codecs |
| Affects Version/s: | None |
| Fix Version/s: | 3.0.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Jeffrey Yemin | Assignee: | Jeffrey Yemin |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
This:
does not work as expected. The problem is that when the second registry creates, say, a DocumentCodec, it does so with no knowledge of the outer registry. When the Document Codec subsequently gets a UUIDCodec, it gets it from the second registry rather than the outer registry. |
| Comments |
| Comment by Jeffrey Yemin [ 31/Mar/15 ] |
|
Closing all resolved 3.0.0 issues, as 3.0.0 has been tagged and released. |
| Comment by Githook User [ 06/Mar/15 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: Added comment to MongoClientOptions.Builder.codecRegistry to note that DB/DBCollection do not use the registry. |
| Comment by Githook User [ 06/Mar/15 ] |
|
Author: {u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: Renamed CodecRegistryHelper to CodecRegistries. |