can anybody confirm that nestedset from propel plugin 1.3 is working 
correctly??

I am getting exceptions

Call to undefined method BaseUsers::makeRoot

when trying to make root for model Users

for example

        $root = new Users();
        $root->setUsername('test');
        $root->setPassword('test');
        $root->makeRoot();
        $root->setScopeIdValue(1); // Tree 1
        $root->save();


where Users defined in schema.yml

  users:
    _attributes: { idMethod: native, treeMode: NestedSet}
    id: { type: INTEGER, required: true, autoIncrement: true, 
primaryKey: true }
    username: { type: VARCHAR, size: '16', required: true, default: '' }
    password: { type: VARCHAR, size: '34', required: true, default: '' }
    fullname: { type: VARCHAR, size: '255', required: true, default: '' }
    email: { type: VARCHAR, size: '255', required: true, default: '' }
    description: { type: LONGVARCHAR, required: true }
    level: { type: TINYINT, required: true, default: '0' }
    active: { type: TINYINT, required: true, default: '0' }
    lft: { type: INTEGER, required: true, default: '0', 
nestedSetLeftKey: true }
    rgt: { type: INTEGER, required: true, default: '0', 
nestedSetRightKey: true }
    scope: { type: INTEGER, required: true, default: '0', treeScopeKey: 
true }
    _indexes: { lft: [lft], rgt: [rgt], scope: [scope] }


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to