Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.


Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

DataObject relationship 1-to-many ( only in SVN version, not in stable)




19 December 2007 at 5:57am (Last edited: 4 January 2008 9:38am), Community Member, 37 Posts

When running the code from tutorial 5 and adding a student to a new mentor object I get:

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
Notice: Undefined index: line in /usr/home/inventheon/www/sapphire/core/Debug.php on line 247

Also after adding:


it gives all kinds of

I hope this will be fixes cause it's major functionality for more complex sites