[CSHARP-1596] when using Parallel forEach an argument exception is thrown Created: 07/Mar/16 Updated: 05/Apr/19 Resolved: 05/Apr/16 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | Linq |
| Affects Version/s: | 2.2.3 |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Greg | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | question | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
vs 2015, .net 4.5 |
||
| Attachments: |
|
| Description |
|
when iterating thru collection using parrale forEach function an exception is thrown: |
| Comments |
| Comment by Craig Wilson [ 07/Mar/16 ] |
|
Thanks for the report Greg. We'll certainly attempt to reproduce this. I have a question. The exception appears to be coming out of EntityFramework. This is a little odd. It would help tremendously if you could provide a solution or project demonstrating the problem. We don't have a reference to EntityFramework, and, internally, our linq implementation doesn't generate parameters with the name used in the stack trace. One initial thought I have is about where some of your parameters are coming from, for instance, the officesIds or category.Id parameter. Craig |
| Comment by Greg [ 07/Mar/16 ] |
|
more can be find here: |