No details, line number, anything like that? :D http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer
Mark On Mon, Mar 23, 2009 at 11:18 AM, Matthew <matthewbchamb...@gmail.com>wrote: > > Hi Mark > > The error I got was "Invalid Object Name 'PressRelease'". > > Cheers > Matthew > > On Mar 23, 11:10 am, Mark Mandel <mark.man...@gmail.com> wrote: > > Sorry, miserad what the error was... what was the exact error you got for > > next time? > > > > Mark > > > > On Mon, Mar 23, 2009 at 11:06 AM, Matthew <matthewbchamb...@gmail.com > >wrote: > > > > > > > > > > > > > Just solved it. My mistake. The table is called "press_release". All > > > working now. > > > > > Suggestion: perhaps you could amend the error message to say "Table > > > not found" instead of "Invalid object". > > > > > Thanks for the help. > > > Cheers > > > Matthew > > > > > On Mar 23, 11:01 am, Matthew <matthewbchamb...@gmail.com> wrote: > > > > I'm pretty certain that I'm not editing the wrong config file. I just > > > > added a new object and it picked it up straight away. I could run the > > > > list() method against it no problems. > > > > > > NEW XML CONFIG: > > > > > > <object name="prj_task"> > > > > <id name="task_id" type="numeric"></id> > > > > <property name="title" type="string"></property> > > > > </object> > > > > > > On Mar 23, 10:57 am, Mark Mandel <mark.man...@gmail.com> wrote: > > > > > > > Do you have multiple config files? File on a different server? > > > > > > > Mark > > > > > > > On Mon, Mar 23, 2009 at 10:46 AM, Matthew < > matthewbchamb...@gmail.com > > > >wrote: > > > > > > > > No package. > > > > > > > > I have tried reloading Transfer, restarted CF but nothing worked. > > > > > > > > Cheers > > > > > > Matthew > > > > > > > > On Mar 23, 10:36 am, Mark Mandel <mark.man...@gmail.com> wrote: > > > > > > > Is it in a package? > > > > > > > > > Did you reset Transfer when you changed your config? > > > > > > > > > Mark > > > > > > > > > On Mon, Mar 23, 2009 at 10:33 AM, Matthew < > > > matthewbchamb...@gmail.com > > > > > > >wrote: > > > > > > > > > > Hi everyone > > > > > > > > > > I'm getting an "Invalid Object Name 'PressRelease'" error but > I > > > can't > > > > > > > > work out why Transfer thinks it's invalid. I've got many > other > > > > > > > > transfer objects which work fine but I just can't get this > one to > > > > > > > > work. The weird thing is that Transfer doesn't throw the > error at > > > all > > > > > > > > when it loads, plus I can find it via the > GetTransferMetaData() > > > method > > > > > > > > so I know it's there. It just spits the dummy when I try to > call > > > the > > > > > > > > object via a list('PressRelease') method. Is there any where > in > > > the > > > > > > > > documentation that explains errors? > > > > > > > > > > CONFIG XML: > > > > > > > > <object name="PressRelease"> > > > > > > > > <id name="PressReleaseId" column="press_release_id" > > > > > > > > type="numeric"></ > > > > > > > > id> > > > > > > > > <property name="heading" type="string"></property> > > > > > > > > </object> > > > > > > > > > > CODE: > > > > > > > > **this works** > > > > > > > > <cfdump var="#getTransfer().GetTransferMetaData > > > > > > > > ('PressRelease').getObjectName()#"> > > > > > > > > **this DOESN'T work ?!?!?** > > > > > > > > <cfdump var="#getTransfer().list('PressRelease')#"> > > > > > > > > > > Cheers > > > > > > > > Matthew > > > > > > > > > -- > > > > > > > E: mark.man...@gmail.com > > > > > > > W:www.compoundtheory.com > > > > > > > -- > > > > > E: mark.man...@gmail.com > > > > > W:www.compoundtheory.com > > > > -- > > E: mark.man...@gmail.com > > W:www.compoundtheory.com > > > -- E: mark.man...@gmail.com W: www.compoundtheory.com --~--~---------~--~----~------------~-------~--~----~ Before posting questions to the group please read: http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer You received this message because you are subscribed to the Google Groups "transfer-dev" group. To post to this group, send email to transfer-dev@googlegroups.com To unsubscribe from this group, send email to transfer-dev-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/transfer-dev?hl=en -~----------~----~----~----~------~----~------~--~---