It looks fine... but you sure in your code you are calling it
correctly, remember it is case sensitive.

Mark

On Fri, Nov 28, 2008 at 6:38 AM, Damon Gentry <[EMAIL PROTECTED]> wrote:
>
> The error now reads:
>
> The requested object could not be found in the config file
> Could not find 'post' in '/opt/www/htdocs/projects/mensclub/
> config/transfer/transfer.xml'.
>
> I'm pretty sure I need to reference it as 'package.object'.  It's so
> confusing as calls to 'Member.member' work fine, but 'Post.post' does
> not.
>
>
> On Nov 27, 11:06 am, Alan Livie <[EMAIL PROTECTED]> wrote:
>> What happens if you remove the Post package and try to <cfset qNews = 
>> application.transferObj.list
>> ('post') /> ?
>>
>> ________________________________
>> From: Damon Gentry <[EMAIL PROTECTED]>
>> To: transfer-dev <[email protected]>
>> Sent: Thursday, November 27, 2008 6:37:08 PM
>> Subject: [transfer-dev] Re: The old 'Object could not be found' problem.
>>
>> The cfset line should be <cfset qNews = application.transferObj.list
>> ('Post.post') />
>>
>> On Nov 27, 9:24 am, Damon Gentry <[EMAIL PROTECTED]> wrote:
>>
>> > Hi all,
>>
>> > I've been searching the docs and this group for a few hours now.  I
>> > can't figure out what's wrong.  I'm getting the old "The requested
>> > object could not be found" error.  Here is my transfer.xml.
>>
>> > <transfer xsi:noNamespaceSchemaLocation="/opt/www/frameworks/transfer/
>> > resources/xsd/transfer.xsd" xmlns:xsi="http://www.w3.org/2001/
>> > XMLSchema-instance">
>>
>> >         <objectDefinitions>
>>
>> >                 <package name="Member">
>> >                         <object name="member" table="member">
>> >                                 <id name="member_id" type="UUID" 
>> > generate="true" />
>> >                                 <property name="last_name" type="string" />
>> >                                 <property name="first_name" type="string" 
>> > />
>> >                                 <property name="email_address" 
>> > type="string" />
>> >                                 <property name="password" type="string" />
>> >                                 <property name="address" type="string" />
>> >                                 <property name="city" type="string" />
>> >                                 <property name="state" type="string" />
>> >                                 <property name="zipcode" type="string" />
>> >                                 <property name="home_phone" type="string" 
>> > />
>> >                                 <property name="work_phone" type="string" 
>> > />
>> >                                 <property name="cell_phone" type="string" 
>> > />
>> >                                 <property name="notes" type="string" />
>> >                         </object>
>> >                 </package>
>>
>> >                 <package name="Post">
>> >                         <object name="post" table="post">
>> >                                 <id name="post_id" type="UUID" 
>> > generate="true" />
>> >                                 <property name="post_date" type="date" />
>> >                                 <property name="post_title" type="string" 
>> > />
>> >                                 <property name="post_body" type="string" />
>> >                                 <property name="post_author_id" 
>> > type="string" />
>> >                         </object>
>> >                 </package>
>>
>> >         </objectDefinitions>
>>
>> > </transfer>
>>
>> > I can use the Member.member package.object with not problems.
>> > However, when I try to work with the Post.post object, it fails.  Here
>> > is my cfml code:
>>
>> > <cfset qMembers = application.transferObj.list('Post.post') />
>>
>> > The error thrown is:
>>
>> > The requested object could not be found in the config file
>>
>> > Could not find 'Post.post' in '/opt/www/htdocs/projects/mensclub/
>> > config/transfer/transfer.xml'.
>>
>> > The error occurred in /opt/www/frameworks/transfer/com/object/
>> > ObjectDAO.cfc: line 611
>>
>> > One last note:  'post.post_author_id' will be a foreign key to
>> > member.member_id.  I haven't added the onetomany relationship because
>> > I can't get the basic object working.
> >
>



-- 
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