Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion loading data in yml files with joint tables...
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
Jonathan Franks  
View profile   Translate to Translated (View Original)
 More options 2 July, 15:46
From: Jonathan Franks <jonat...@ifranks.com>
Date: Thu, 2 Jul 2009 15:46:23 +0100
Local: Thurs 2 July 2009 15:46
Subject: loading data in yml files with joint tables...
I'm having some problems importing data that uses join tables.

I can dump it just fine and I get something as follows....

HollowareItem:
   HollowareItem_89:
     stocknumber: e3916
     name: 'Coffee pots'
   HollowareItem_99:
     stocknumber: e6107
     name: Candlesticks
.......etc
Type:
   Type_1:
     name: Baskets
   Type_3:
     name: 'Biscuit boxes'
.......etc
Typejoin:
   Typejoin_5364_199:
     HollowareItem: HollowareItem_5364
     Type: Type_199
   Typejoin_5373_199:
     HollowareItem: HollowareItem_5373
     Type: Type_199
........etc

but when I try to load the data I get this error....

Unknown method Makerjoin::setHollowareitem

The table and jointable related to HollowareItem are generated by  
behaviors, but I have a filter running to call the following....

Doctrine::initializeModels('HollowareItem');

So, the relationships should be working.

Any suggestions??

Thanks, jb


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google