I am trying the tutorial 5 Mentor - student relation but still getting:
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
Don't know where to put the setParentClass() to get it working. In the demo it is working ... can somebody help me please?! I need it very urgent!
hm, just tested the tutorial-code against the latest phpinstaller (branches/2.2.1), worked fine.
if you want to explicitly set your relation-class, add the following to Project->getCMSFields():
you're right, we managed to break this by merging old code from a project-branch of sapphire - should be fixed in http://open.silverstripe.com/changeset/47747.
can you please test that this fix works for you?