Hi Mark,

I just read your reply...

and my initial thoughts to myself, of course, were;
Mark's taken a few too many punches to the head recently.... of course
it's there....
I can see the relationship is mapped.... I can see the call for the
creation of the TO in the CFML....
Sheesh... for someone so  bright... Mark's got no idea....

Then of course I looked at the transfer XML again... and guess what?
Turns out it doesn't matter how many beatings you've taken, you were
right all along!

None the less - thanks for the response, I have corrected my issue!

Looks like the error message got it right again!!!
 - the object most certainly is not defined in the "car" package.

This is what happens when you come to the point of not trusting the
error messages that have been delivered to you by the CFML engine.

New note to self: Transfer error messages not generated by CFML
engineers.
Thanks very much again!

Beau.

On Nov 10, 10:20 pm, "Mark Mandel" <[EMAIL PROTECTED]> wrote:
> Gavin,
>
> There is no object named 'environmentUser'... so how could it be found?
>
> Mark
>
> On Mon, Nov 10, 2008 at 8:52 PM, Gavin Baumanis <[EMAIL PROTECTED]> wrote:
>
> > Hi everyone,
>
> > After a significant search of the group here, the docs website and our
> > good friend Mr. google... I seem to be no closer to answering my
> > question - why am I getting this error?
>
> > I have included all (what I thought are the relevant bits of code...
> > so it is a bit lengthy in source code.
> > But I figured if I didn't - someone would say show us.... insert
> > code...  I didn't provide in the Original Post.
>
> > The requested object could not be found in the config file
> > Could not find 'car.environmentUser' in 'C:\Inetpub\wwwroot\trimasCar
> > \transferConfig\transfer.xml.cfm'.
>
> > Here is the transfer.xml
>
> >        <objectCache>
> >                <defaultcache>
> >                        <maxminutespersisted value="60" />
> >                        <accessedminutestimeout value="30" />
> >                </defaultcache>
>
> >                <cache class="car.generalCAR">
> >                        <scope type="session" />
> >                </cache>
> >        </objectCache>
>
> >        <objectDefinitions>
> >                <package name="people">
> >                        <object name="role" table="tbl_roles">
> >                                <id name="id_tbl_roles" type="numeric" 
> > generate="true"/>
> >                                <property name="roleDescription" 
> > type="string" />
> >                                <property name="hourlyRate" type="numeric" />
> >                        </object>
>
> >                        <object name="user" table="tbl_users">
> >                                <id name="id_tbl_users" type="numeric" 
> > generate="true" />
> >                                <property name="username" type="string" />
> >                                <property name="firstname" type="string" />
> >                                <property name="surname" type="string" />
> >                                <manytoone name="role">
> >                                        <link to="people.role" 
> > column="id_tbl_roles" />
> >                                </manytoone>
> >                                <property name="phoneNumber" type="string" />
> >                                <property name="mobilePhoneNumber" 
> > type="string" />
> >                                <property name="isdeleted" type="boolean" />
> >                        </object>
> >                </package>
>
> >                <package name="car">
> >                        <object name="issueType" table="tbl_issueType">
> >                                <id name="id_tbl_issueType" type="numeric" />
> >                                <property name="issueType" type="string" />
> >                        </object>
> >                        <object name="saleType" table="tbl_saleType">
> >                                <id name="id_tbl_saleType" type="numeric" />
> >                                <property name="saleType" type="string" />
> >                        </object>
> >                        <object name="productType" table="tbl_productType">
> >                                <id name="id_tbl_productType" type="numeric" 
> > />
> >                                <property name="productType" type="string" />
> >                        </object>
> >                        <object name="problemType" table="tbl_problemType">
> >                                <id name="id_tbl_problemType" type="numeric" 
> > />
> >                                <property name="problemType" type="string" />
> >                        </object>
> >                        <object name="workflowPosition" 
> > table="tbl_workflowPosition">
> >                                <id name="id_tbl_workflowPosition" 
> > type="numeric" />
> >                                <property name="workflowPosition" 
> > type="string" />
> >                        </object>
> >                        <object name="workStatus" table="tbl_workStatus">
> >                                <id name="id_tbl_workStatus" type="numeric" 
> > />
> >                                <property name="workStatus" type="string" />
> >                        </object>
> >                        <object name="generalCAR" table="tbl_CAR">
> >                                <id name="id_tbl_car" type="numeric" 
> > generate="false" />
> >                                <property name="dateRaised" type="date" />
> >                                <manytoone name="issueType">
> >                                        <link to="car.issueType" 
> > column="issueTypeId" />
> >                                </manytoone>
> >                                <manytoone name="saleType">
> >                                        <link to="car.saleType" 
> > column="saleTypeId" />
> >                                </manytoone>
> >                                <manytoone name="productType">
> >                                        <link to="car.productType" 
> > column="productTypeId" />
> >                                </manytoone>
> >                                <property name="companyName" type="string" />
> >                                <property name="contactName" type="string" />
> >                                <property name="contactEmail" type="string" 
> > />
> >                                <property name="contactPhoneNumber" 
> > type="string" />
> >                                <property name="partNumber" type="string" />
> >                                <property name="quantity" type="numeric" />
> >                                <property name="serialNumber" type="string" 
> > />
> >                                <property name="email" type="string" />
> >                                <property name="batchNumber" type="string" />
> >                                <property name="unitCost" type="numeric" />
> >                                <property name="totalCost" type="numeric" />
> >                                <property name="toBeReturned" type="boolean" 
> > />
> >                                <property name="rma" type="string" />
> >                                <property name="productDescription" 
> > type="string" />
> >                                <manytoone name="problemType">
> >                                        <link to="car.problemType" 
> > column="problemTypeId" />
> >                                </manytoone>
> >                                <property name="warranty" type="boolean" />
> >                                <property name="problemDescription" 
> > type="string" />
> >                                <manytoone name="customerActivityUser">
> >                                        <link to="people.user" 
> > column="customerActivityUserId" />
> >                                </manytoone>
> >                                <manytoone name="qualityEngineerUser">
> >                                        <link to="people.user" 
> > column="qualityEngineerUserId" />
> >                                </manytoone>
> >                                <manytoone name="manafacturingUser">
> >                                        <link to="people.user" 
> > column="manafacturingUserId" />
> >                                </manytoone>
> >                                <manytoone name="engineeringUser">
> >                                        <link to="people.user" 
> > column="engineeringUserId" />
> >                                </manytoone>
> >                                <manytoone name="environmentUser">
> >                                        <link to="people.user" 
> > column="environmentUserId" />
> >                                </manytoone>
> >                                <manytoone name="qualityAssuranceUser">
> >                                        <link to="people.user" 
> > column="qualityAssuranceUserId" />
> >                                </manytoone>
> >                                <manytoone name="currentWorkflowPosition">
> >                                        <link to="car.workflowPosition"
> > column="currentWorkflowPositionId" />
> >                                </manytoone>
> >                                <manytoone name="previousWorkflowPosition">
> >                                        <link to="car.workflowPosition"
> > column="previousWorkflowPositionId" />
> >                                </manytoone>
> >                                <manytoone name="nextWorkflowPosition">
> >                                        <link to="car.workflowPosition" 
> > column="nextWorkflowPositionId" /
>
> >                                </manytoone>
> >                                <property name="lastModifiedBy" 
> > type="string" />
> >                                <property name="lastModifiedDate" 
> > type="date" />
> >                                <property name="insertedBy" type="string" />
> >                                <manytoone name="workStatusId">
> >                                        <link to="car.workStatus" 
> > column="workStatus" />
> >                                </manytoone>
> >                        </object>
> >                </package>
> >        </objectDefinitions>
>
> > Creation of transfer singleton;
>
> > application.transferFactory = createObject("component",
> > "transfer.TransferFactory").init("/trimasCar/transferConfig/
> > datasource.xml.cfm",
> > "/trimasCar/transferConfig/transfer.xml.cfm",
> > "/trimasCar/transferData");
>
> > application.datasource = application.transferFactory.getDataSource();
> > application.transfer = application.transferFactory.getTransfer();
>
> > Here is the code I use to create the new TO's. and whre the ocde falls
> > down.
>
> >        <cfscript>
> >                session.environmentUser =
> > application.transfer.new("car.environmentUser");
> >                session.engineeringUser =
> > application.transfer.new("car.engineeringUser");
> >                session.manafacturingUser =
> > application.transfer.new("car.manafacturingUser");
> >                session.qualityEngineerUser =
> > application.transfer.new("car.qualityEngineerUser");
> >                session.customerActivityUser =
> > application.transfer.new("car.customerActivityUser");
> >                session.qualityAssuranceUser
>
> ...
>
> read more »
--~--~---------~--~----~------------~-------~--~----~
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