<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Forum posts to 'bugs (temp)'</title>
		<link>http://www.silverstripe.com/bugs/</link>
		

		
		<item>
			<title>DataObject relationship 1-to-many ( only in SVN version, not in stable)</title>
			<link>http://www.silverstripe.com/bugs/show/16422</link>
			<description>When running the code from tutorial 5 and adding a student to a new mentor object I get: &lt;br /&gt;[code]ERROR:Error 512: ComplexTableField::DetailForm() Cannot automatically determine 'has-one'-relationship to parent, please use setParentClass() to set it manually At l266 in /usr/home/inventheon/www/sapphire/forms/ComplexTableField.php&lt;br /&gt;Notice: Undefined index: line in /usr/home/inventheon/www/sapphire/core/Debug.php on line 247[/code]&lt;br /&gt;&lt;br /&gt;Also after adding: [code]$tablefield-&amp;gt;setParentClass('Student');[/code] it gives all kinds of &lt;br /&gt;errors....&lt;br /&gt;&lt;br /&gt;I hope this will be fixes cause it's major functionality for more complex sites IMHO...fo&lt;br&gt;&lt;br&gt;Posted to: DataObject relationship 1-to-many ( only in SVN version, not in stable)</description>
			<pubDate>Wed, 19 Dec 2007 05:57:20 +1300</pubDate>
			<author>Oscar Kneib</author>
			<guid>http://www.silverstripe.com/bugs/show/16422</guid>
		</item>
		

	</channel>
</rss>
