Howdy folks,

symfony 1.0.8
postgresql

I have the following schema:

Company:
   id:
     type: integer
   name:
     type: varchar
   relations:
     Categories:
       class: Category
       refClass: CategoryCompany

CategoryCompany:
   company_id:
     type: integer
   category_id:
     type: integer

Category:
   id:
     type: integer
   name:
     type: varchar

I used the following to init an admin:

symfony doctrine-init-admin backend company Company

Within my generator.yml, I have the following:

edit:
   fields:
     CategoryCompany:
       type: doctrine_admin_double_list

It all displays correctly.  However, when I try to add a category to  
a company, I get the following error:

Fatal error: Call to undefined method  
Doctrine_Relation_ForeignKey::getAssociationTable() in /path/to/dev/ 
cache/backend/dev/modules/autoCompany/actions/actions.class.php on  
line 212

A look at the indicated class shows that that method is missing. A  
look at the same file in trac on the Doctrine site shows the same thing.

Have I done something wrong or have I uncovered a bug?

Charley

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
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