[CSHARP-1573] $Lookup uses the localField as the value for foreignField Created: 18/Feb/16 Updated: 18/May/16 Resolved: 11/Mar/16 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | Linq |
| Affects Version/s: | 2.0 |
| Fix Version/s: | 2.2.4 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Jacob Jewell | Assignee: | Craig Wilson |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
When running an aggregation containing a $lookup stage the value for localField is filled in with the value of foreignField. Pull Request with a fix at https://github.com/mongodb/mongo-csharp-driver/pull/234 |
| Comments |
| Comment by Githook User [ 11/Mar/16 ] |
|
Author: {u'username': u'craiggwilson', u'name': u'Craig Wilson', u'email': u'craiggwilson@gmail.com'}Message: |
| Comment by Githook User [ 11/Mar/16 ] |
|
Author: {u'username': u'craiggwilson', u'name': u'Craig Wilson', u'email': u'craiggwilson@gmail.com'}Message: |
| Comment by Craig Wilson [ 18/Feb/16 ] |
|
Well, that's a total fail on my part. Must not have tested with different keys for local and foreign. Thanks for the find and PR. We'll get this merged soon. |
| Comment by Jacob Jewell [ 18/Feb/16 ] |
|
I just realized I had a typo above. It should be "the value for foreignField is filled in with the value of localField". |