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 <[email protected]> wrote:
> Do you have multiple config files? File on a different server?
>
> Mark
>
> On Mon, Mar 23, 2009 at 10:46 AM, Matthew <[email protected]>wrote:
>
>
>
>
>
> > No package.
>
> > I have tried reloading Transfer, restarted CF but nothing worked.
>
> > Cheers
> > Matthew
>
> > On Mar 23, 10:36 am, Mark Mandel <[email protected]> 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 <[email protected]
> > >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: [email protected]
> > > W:www.compoundtheory.com
>
> --
> E: [email protected]
> 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/transfer-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to