[JAVA-2272] Some calls to CollectibleCodec.generateIdIfAbsentFromDocument expect the document to mutate. Created: 03/Aug/16 Updated: 19/Oct/16 Resolved: 12/Oct/16 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Codecs |
| Affects Version/s: | 3.3.0 |
| Fix Version/s: | 3.4.0-rc1, 3.4.0 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Ross Lawley | Assignee: | Ross Lawley |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
It should be possible to have an immutable document and generateIdIfAbsentFromDocument will return a new document instance. |
| Comments |
| Comment by Githook User [ 12/Oct/16 ] |
|
Author: {u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}Message: Ensure use of generateIdIfAbsentFromDocument assigns the result There is no guarantee that CollectibleCodec<TDocument> will be able to
|
| Comment by Ross Lawley [ 11/Oct/16 ] |