[JAVA-324] findAndModify is applied on $cmd collection and hence does not use the ObjectClass of the target collection Created: 13/Apr/11 Updated: 18/Jun/12 Resolved: 17/May/12 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.8.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Antoine Girbal | Assignee: | Jeffrey Yemin |
| Resolution: | Done | Votes: | 2 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
Need to use a sort of setinternalclass to apply to the value subobject. |
| Comments |
| Comment by Jeffrey Yemin [ 18/Jun/12 ] | |||||||||||||||||||||||||||||||||||||||||||
|
Closing for 2.8.0 release. | |||||||||||||||||||||||||||||||||||||||||||
| Comment by auto [ 17/May/12 ] | |||||||||||||||||||||||||||||||||||||||||||
|
Author: {u'login': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}Message: | |||||||||||||||||||||||||||||||||||||||||||
| Comment by Jeffrey Yemin [ 10/May/12 ] | |||||||||||||||||||||||||||||||||||||||||||
|
I have a fix that uses the object class set on the collection but not any internal classes. Will that allow you to move forward? In other words, this test will pass:
| |||||||||||||||||||||||||||||||||||||||||||
| Comment by Wendal Chen [ 01/Feb/12 ] | |||||||||||||||||||||||||||||||||||||||||||
|
Any plan for that?? | |||||||||||||||||||||||||||||||||||||||||||
| Comment by Leif Mortenson [ 23/Apr/11 ] | |||||||||||||||||||||||||||||||||||||||||||
|
We are having a problem with this as well and look forward to a fix. It would be great if collection.setObjectClass worked with objects returned by collection.findAndModify. Cheers, |