I am getting this error when I run a CFC from 1 program, but don't get it
when I run it from another. Suggestions?
Calling line:
<CFSET objProduct.init(UserKey=UserKey,DBSettings=application.DBSettings) />
Associated code:
<CFFUNCTION name="init" access="public" output="true"
displayname="Initialize Object" hint="Instantiate Object. Returns True if
no errors">
<CFARGUMENT name="UserKey" type="numeric"
required="true" displayname="Primary Key to User database so that database
changes can be tracked">
<cfargument name="DBSettings" type="struct"
required="yes"/>
<cfset instance=StructNew() />
<cfset intance.Class = "Product" />
<CFSET instance.UserKey = arguments.UserKey>
<CFSET instance.Settings =
Duplicate(arguments.DBSettings) />
<CFSET createXML() />
<CFSET instance.IsUpdated = false />
<CFRETURN THIS />
</CFFUNCTION>
<CFFUNCTION name="createXML" access="private" output="true"
displayname="Create XML Container">
<cfxml variable="instance.xml">
<cfinclude
template="#instance.Settings.xmlPath#xmlproduct.cfm" />
</cfxml>
<cfset
instance.XML.Product.xmlAttributes.HighestSeverity =
#instance.Settings.NoWarningError# />
</CFFUNCTION>
xmlProduct.cfm file:
<Product Key="" ChangedByKey="" ChangedOn="" HighestSeverity="0"
Severity="0">
<ID Severity="0"></ID>
<InvoiceDescription Severity="0"></InvoiceDescription>
<SalesDescription Severity="0"></SalesDescription>
<ProductType Key="" Severity="0"></ProductType>
<Prices Severity="0">
<Price>
<PriceType></PriceType>
<UOM></UOM>
<UnitPrice></UnitPrice>
</Price>
</Prices>
<ProductionSteps NumberSteps="3">
<Step ID="1">Bake</Step>
<Step ID="2">Coat</Step>
<Step ID="3">Decorate</Step>
</ProductionSteps>
<BelongsToGroups GroupKeyList="" IsUpdated="false" Severity="0">
<Group key="" IsNew="" IsDeleted="false"></Group>
</BelongsToGroups>
<IsInactive Severity="0"></IsInactive>
<IsForSale Severity="0"></IsForSale>
</Product>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tracking and documenting hours spent on a project or with a
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217350
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54