Bug 7900 - SetParentRow doesn't check the Tables of the Relations
Summary: SetParentRow doesn't check the Tables of the Relations
Status: RESOLVED FIXED
Alias: None
Product: Class Libraries
Classification: Mono
Component: System.Data ()
Version: 2.10.x
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-10-18 13:49 UTC by Dominique NORMAND
Modified: 2013-03-20 17:52 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Test project to reproduce the problem (2.18 KB, application/zip)
2013-03-19 11:57 UTC, Dominique NORMAND
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Dominique NORMAND 2012-10-18 13:49:29 UTC
When calling DataRow.SetParentRow without specifying the DataRelation, the code loops through all the parent relations of the current row's DataTable and doesn't check that the ParentTable of the relations match the ParentRow's DataTable.
Comment 1 Chris Hardy [MSFT] 2013-03-18 20:17:06 UTC
Is it possible to provide a self-contained test case for this issue so we can get our engineers to take a look into the issue you mentioned here.
Comment 2 Dominique NORMAND 2013-03-19 11:57:31 UTC
Created attachment 3654 [details]
Test project to reproduce the problem
Comment 3 Rodrigo Kumpera 2013-03-20 17:52:50 UTC
Fixed on master. Will be part of the next round alphas. Where else do we need to rollout this fix to?