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, 23:47
From: Jonathan Franks <jonat...@ifranks.com>
Date: Thu, 2 Jul 2009 23:47:24 +0100
Local: Thurs 2 July 2009 23:47
Subject: Re: [doctrine-user] Re: loading data in yml files with joint tables...
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


    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