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...

View Parsed - Show only message text

Received: by 10.210.29.9 with SMTP id c9mr25876ebc.6.1246545996670;
        Thu, 02 Jul 2009 07:46:36 -0700 (PDT)
Return-Path: <jonat...@ifranks.com>
Received: from ey-out-1920.google.com (ey-out-1920.google.com [74.125.78.150])
        by gmr-mx.google.com with ESMTP id 15si594382ewy.4.2009.07.02.07.46.36;
        Thu, 02 Jul 2009 07:46:36 -0700 (PDT)
Received-SPF: neutral (google.com: 74.125.78.150 is neither permitted nor denied by best guess record for domain of jonat...@ifranks.com) client-ip=74.125.78.150;
Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 74.125.78.150 is neither permitted nor denied by best guess record for domain of jonat...@ifranks.com) smtp.mail=jonat...@ifranks.com
Received: by ey-out-1920.google.com with SMTP id 13so627059eye.20
        for <doctrine-user@googlegroups.com>; Thu, 02 Jul 2009 07:46:36 -0700 (PDT)
Received: by 10.210.89.7 with SMTP id m7mr143480ebb.77.1246545996542;
        Thu, 02 Jul 2009 07:46:36 -0700 (PDT)
Return-Path: <jonat...@ifranks.com>
Received: from ?192.168.1.11? (host86-158-230-57.range86-158.btcentralplus.com [86.158.230.57])
        by mx.google.com with ESMTPS id 10sm17504eyd.28.2009.07.02.07.46.31
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Thu, 02 Jul 2009 07:46:36 -0700 (PDT)
Message-Id: <E054E018-84C3-4B36-BC05-A7BD1F51633B@ifranks.com>
From: Jonathan Franks <jonat...@ifranks.com>
To: doctrine-user@googlegroups.com
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Subject: loading data in yml files with joint tables...
Date: Thu, 2 Jul 2009 15:46:23 +0100
X-Mailer: Apple Mail (2.935.3)

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


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