I have errors which slip through ctry tags. The provided cfcatch part is not
executed and the source shows the error in the cftry part. Did anyone
experience similair behavior? I provided the responsible code below where
session.cultureid has not been filled in;
<cftry>
<cfoutput>
<tree
label="Articles in
(#evaluate("session.configuration.root.articles.culture_" &
session.cultureid)#)"
src="object.cfm?object=article&template=treenodes&parentid=#evaluate
("session.configuration.root.articles.culture_" & session.cultureid)#"
icon="styles/blue/gfx/domain.gif"
iconopen="styles/blue/gfx/domain.gif"
instanceid="#evaluate("session.configuration.root.articles.culture_" &
session.cultureid)#"
joininstanceid="#session.culturejoininstanceid#"
objecttype="2"
objectname="shared"
basedir="core.domain"
onloadevent="this.expand()"
/>
</cfoutput>
<cfcatch type="any">
<cfoutput>
<tree
label="error:#xmlFormat(cfcatch.message)#"
<cfloop collection="#cfcatch#"
item="cfcatchAttribute">
<cfif isSimpleValue(cfcatch[cfcatchAttribute])>
#cfcatchAttribute#="#xmlFormat(cfcatch[cfcatchAttribute])#"
<cfelseif isArray(cfcatch[cfcatchAttribute])>
<cfloop from="1"
to="#ArrayLen(cfcatch[cfcatchAttribute])#" index="i">
<cfif
isStruct(cfcatch[cfcatchAttribute][i])>
<cfloop
collection="#cfcatch[cfcatchAttribute][i]#" item="cfcatchSubAttribute">
#cfcatchAttribute#_#i#_#cfcatchSubAttribute#="#xmlFormat(cfcatch[cfcatchAttr
ibute][i][cfcatchSubAttribute])#"
</cfloop>
<cfelseif
isSimpleValue(cfcatch[cfcatchAttribute][i])>
#cfcatchAttribute#_#i#="#xmlFormat(cfcatch[cfcatchAttribute][i])#"
</cfif>
</cfloop>
</cfif>
</cfloop>
icon="styles/blue/gfx/error.gif"
iconopen="styles/blue/gfx/error.gif"
iserror="true"
onloadevent="new function(){alert('show skinned
error dialog here')}"/>
</cfoutput>
</cfcatch>
</cftry>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application
http://www.houseoffusion.com/banners/view.cfm?bannerid=48
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195495
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