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.211.194.9 with SMTP id w9mr51087ebp.14.1246551880323;
        Thu, 02 Jul 2009 09:24:40 -0700 (PDT)
Return-Path: <jonw...@gmail.com>
Received: from mail-ew0-f214.google.com (mail-ew0-f214.google.com [209.85.219.214])
        by gmr-mx.google.com with ESMTP id 14si602247ewy.5.2009.07.02.09.24.39;
        Thu, 02 Jul 2009 09:24:39 -0700 (PDT)
Received-SPF: pass (google.com: domain of jonw...@gmail.com designates 209.85.219.214 as permitted sender) client-ip=209.85.219.214;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jonw...@gmail.com designates 209.85.219.214 as permitted sender) smtp.mail=jonw...@gmail.com; dkim=pass (test mode) header...@gmail.com
Received: by mail-ew0-f214.google.com with SMTP id 10so2607128ewy.31
        for <doctrine-user@googlegroups.com>; Thu, 02 Jul 2009 09:24:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:received:in-reply-to:references
         :from:date:message-id:subject:to:content-type;
        bh=UDbnGeaRmr/XHpI1/zx9gDRo25xigTad9qYmhYnLoRQ=;
        b=GZBpqmCgWM2YRpP3gZPjKegN1Ow1gBYF3QN3qmwHtoIWwfOw/1duOfJ3sFr2Pi2SH3
         778CSVNWFvKv3AbT1EIh650kwoAwWW0Mz80tQ54Uox0CToPsorWThOyuMYDBfEsoSOzo
         p3aG7uNAvS1pHn5WrG6+qZAuQOeS5h/YsG6Y4=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :content-type;
        b=C+z7ibJnp044wqq44+6wodn0aTbWowGjCvfCEKSy+x45EJOdenk3js2XA1kaI0QPSH
         Qu/lfOiIXXUz7axujNUV6xHig3c3F4BNIcg6yXBUrJMnuKwSShNbFwevfgH38LFihvdx
         /dIVBrAbZfD3HNL/eU9Wh+LUBH8F5AVK+KxDc=
Mime-Version: 1.0
Content-Type: multipart/alternative;
	boundary="0016e6dbea5af2f37a046dbb795c"
Received: by 10.216.54.194 with SMTP id i44mr65654wec.93.1246551879119; Thu, 
	02 Jul 2009 09:24:39 -0700 (PDT)
In-Reply-To: <E054E018-84C3-4B36-BC05-A7BD1F51633B@ifranks.com>
References: <E054E018-84C3-4B36-BC05-A7BD1F51633B@ifranks.com>
From: Jonathan Wage <jonw...@gmail.com>
Date: Thu, 2 Jul 2009 11:24:19 -0500
Message-ID: <be85b5220907020924n390415d3m65ed751634317...@mail.gmail.com>
Subject: Re: [doctrine-user] loading data in yml files with joint tables...
To: doctrine-user@googlegroups.com

--0016e6dbea5af2f37a046dbb795c
Content-Type: text/plain; charset=ISO-8859-1

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

--0016e6dbea5af2f37a046dbb795c
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Is that the exact error? The eror says &quot;setHollowareitem&quot;, but it=
 is named &quot;HollowareItem&quot;, with a capital &quot;I&quot;. Is your =
code calling the wrong method somewhere in your code or something?<br><br>

- Jon<br><br><div class=3D"gmail_quote">On Thu, Jul 2, 2009 at 9:46 AM, Jon=
athan Franks <span dir=3D"ltr">&lt;<a href=3D"mailto:jonat...@ifranks.com">=
jonat...@ifranks.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_qu=
ote" style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0p=
t 0.8ex; padding-left: 1ex;">

<br>
I&#39;m having some problems importing data that uses join tables.<br>
<br>
I can dump it just fine and I get something as follows....<br>
<br>
HollowareItem:<br>
 =A0 HollowareItem_89:<br>
 =A0 =A0 stocknumber: e3916<br>
 =A0 =A0 name: &#39;Coffee pots&#39;<br>
 =A0 HollowareItem_99:<br>
 =A0 =A0 stocknumber: e6107<br>
 =A0 =A0 name: Candlesticks<br>
.......etc<br>
Type:<br>
 =A0 Type_1:<br>
 =A0 =A0 name: Baskets<br>
 =A0 Type_3:<br>
 =A0 =A0 name: &#39;Biscuit boxes&#39;<br>
.......etc<br>
Typejoin:<br>
 =A0 Typejoin_5364_199:<br>
 =A0 =A0 HollowareItem: HollowareItem_5364<br>
 =A0 =A0 Type: Type_199<br>
 =A0 Typejoin_5373_199:<br>
 =A0 =A0 HollowareItem: HollowareItem_5373<br>
 =A0 =A0 Type: Type_199<br>
........etc<br>
<br>
but when I try to load the data I get this error....<br>
<br>
Unknown method Makerjoin::setHollowareitem<br>
<br>
The table and jointable related to HollowareItem are generated by<br>
behaviors, but I have a filter running to call the following....<br>
<br>
Doctrine::initializeModels(&#39;HollowareItem&#39;);<br>
<br>
So, the relationships should be working.<br>
<br>
Any suggestions??<br>
<br>
Thanks, jb<br>
<br>
<br>
<br>
</blockquote></div><br><br clear=3D"all"><br>-- <br>Jonathan H. Wage (+1 41=
5 992 5468)<br>Open Source Software Developer &amp; Evangelist<br><a href=
=3D"http://sensiolabs.com">sensiolabs.com</a> | <a href=3D"http://jwage.com=
">jwage.com</a> | <a href=3D"http://doctrine-project.org">doctrine-project.=
org</a> | <a href=3D"http://symfony-project.org">symfony-project.org</a><br=
>

<br>You can contact Jonathan about Doctrine, Symfony and Open-Source or for=
 training, consulting, application development, or business related questio=
ns at <a href=3D"mailto:jonathan.w...@sensio.com">jonathan.w...@sensio.com<=
/a><br>



--0016e6dbea5af2f37a046dbb795c--


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