Message from discussion
loading data in yml files with joint tables...
Received: by 10.210.80.12 with SMTP id d12mr148172ebb.11.1246574847070;
Thu, 02 Jul 2009 15:47:27 -0700 (PDT)
Return-Path: <jonat...@ifranks.com>
Received: from mail-ew0-f228.google.com (mail-ew0-f228.google.com [209.85.219.228])
by gmr-mx.google.com with ESMTP id 15si691476ewy.4.2009.07.02.15.47.27;
Thu, 02 Jul 2009 15:47:27 -0700 (PDT)
Received-SPF: neutral (google.com: 209.85.219.228 is neither permitted nor denied by best guess record for domain of jonat...@ifranks.com) client-ip=209.85.219.228;
Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.219.228 is neither permitted nor denied by best guess record for domain of jonat...@ifranks.com) smtp.mail=jonat...@ifranks.com
Received: by ewy28 with SMTP id 28so2745403ewy.38
for <doctrine-user@googlegroups.com>; Thu, 02 Jul 2009 15:47:27 -0700 (PDT)
Received: by 10.210.140.16 with SMTP id n16mr675794ebd.54.1246574846778;
Thu, 02 Jul 2009 15:47:26 -0700 (PDT)
Return-Path: <jonat...@ifranks.com>
Received: from ?192.168.1.11? (host86-159-118-12.range86-159.btcentralplus.com [86.159.118.12])
by mx.google.com with ESMTPS id 5sm3317077eyf.42.2009.07.02.15.47.25
(version=TLSv1/SSLv3 cipher=RC4-MD5);
Thu, 02 Jul 2009 15:47:26 -0700 (PDT)
Message-Id: <E5A95F1A-ABED-4892-8914-266E25273DC5@ifranks.com>
From: Jonathan Franks <jonat...@ifranks.com>
To: doctrine-user@googlegroups.com
In-Reply-To: <be85b5220907020924n390415d3m65ed7516343177a2@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Subject: Re: [doctrine-user] Re: loading data in yml files with joint tables...
Date: Thu, 2 Jul 2009 23:47:24 +0100
References: <E054E018-84C3-4B36-BC05-A7BD1F51633B@ifranks.com> <be85b5220907020924n390415d3m65ed7516343177a2@mail.gmail.com>
X-Mailer: Apple Mail (2.935.3)
Eyes of the hawk!!!
Yes, that is the exact error and I missed it totally. I will
investigate tomorrow as its bedtime here.
Thanks as always!
Jonathan
On 2 Jul 2009, at 17:24, Jonathan Wage wrote:
> Is that the exact error? The eror says "setHollowareitem", but it is
> named "HollowareItem", with a capital "I". Is your code calling the
> wrong method somewhere in your code or something?
>
> - Jon
>
> On Thu, Jul 2, 2009 at 9:46 AM, Jonathan Franks
> <jonat...@ifranks.com> wrote:
>
> 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
>
>
>
>
>
>
> --
> Jonathan H. Wage (+1 415 992 5468)
> Open Source Software Developer & Evangelist
> sensiolabs.com | jwage.com | doctrine-project.org | symfony-
> project.org
>
> You can contact Jonathan about Doctrine, Symfony and Open-Source or
> for training, consulting, application development, or business
> related questions at jonathan.w...@sensio.com
>
> >