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:
> 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
> 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....
> 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
> 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....
> 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
been doing some testing and unfortunately, the problem appears to be
more complicated than capitalization. I changed the model name to
Items and now I'm getting the same error...
Unknown method Makerjoin::setItem
My Maker & Makerjoin tables are both generated with
Doctrine_Record_Generator classes. The relationships work fine in all
use cases I've tried so far, except loading data.
The relationship between the Maker table and the Item table is defined
in the Maker table's Doctrine_Record_Generator class.
> 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....
> 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
> Hi Jon -
> been doing some testing and unfortunately, the problem appears to be more
> complicated than capitalization. I changed the model name to Items and now
> I'm getting the same error...
> Unknown method Makerjoin::setItem
> My Maker & Makerjoin tables are both generated
> with Doctrine_Record_Generator classes. The relationships work fine in all
> use cases I've tried so far, except loading data.
> The relationship between the Maker table and the Item table is defined in
> the Maker table's Doctrine_Record_Generator class.
> There is no relationship definition in the
> Makerjoin Doctrine_Record_Generator class. Does there need to be??
> I've created a filter to load the 'Item' class to get the relationships
> working.
> Any suggestions??
> Thanks for your help!!
> 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....
> 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
-- 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