Anybody run into an error like this? I'm trying to dumb down my app to make
it as simple as possible to help isolate but I'm not having any luck.
I created this test in my controller (CB 3.0.0 M6)
=========================================
var plan = Transfer.new('maintenance.Plan');
dump( plan.getBillingAddress() );
=========================================
This results in the following exception...
*The method 'geo.Address' in 'java.lang.String' could not be found.*
Here is the snippet from my transfer.xml file..
=========================================
<!-- Maintenance Plans -->
<package name="maintenance">
<!-- Plan -->
<object name="Plans" table="cti_MP_Plans">
<id name="PlanID" type="numeric" column="Plan_ID"/>
<property name="Name" type="string" column="Name" />
<property name="DateGenerated" type="date"
column="Date_Generated" />
<manytoone name="BillingAddress">
<link to="geo.Address" column="Billing_Address_ID" />
</manytoone>
</object>
</package>
<!-- Geo Package -->
<package name="geo">
<!-- Address -->
<object name="Address" table="cti_Addresses" >
<id name="AddressID" type="numeric" column="Address_ID" />
<property name="Address1" type="string" column="Address_1"
/>
<property name="Address2" type="string" column="Address_2"
/>
<property name="City" type="string" column="City" />
<manytoone name="State">
<link to="geo.State" column="State_ID" />
</manytoone>
<property name="Zip" type="string" column="Zip" />
<manytoone name="Type">
<link to="geo.AddressType" column="Type_ID" />
</manytoone>
</object>
</package>
Jason Durham
--
Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer
Try out the new Transfer ORM Custom Google Search:
http://www.google.com/cse/home?cx=002375903941309441958:2s7wbd5ocb8
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