Remember me? forgot password | register

56 Posts in 27 Topics by 32 members

Jump to:

bugs (temp)

If this is your first visit, you will need to register before you can post. However, you can browse all messages below.

bugs (temp) » DataObject relationship 1-to-many ( only in SVN version, not in stable)
Page: 1 go to end Reply
Author Topic: DataObject relationship 1-to-many ( only in SVN version, not in stable) 527 views
  • OzziNL
    avatar
    Community Member
    20 posts
    2 SilverStripe Sites

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

    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:

    $tablefield->setParentClass('Student');
    it gives all kinds of
    errors....

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

    Last edited: 4 January 2008 at 9:38am

    527 views
go to top Reply

Currently Online:

There is nobody online.

Welcome to our latest member: Anonymous user