"Sometimes" I get an error thrown when using the search pod (a
modified farcryverity)
The error is below but it seems that somehow a situation occures where
the dmprofile struct exists in the session, but dmprofile.locale is
undefiend...
from /core/packages/rbcfc.cfc (this is 5.2.2)
<cffunction name="getCurrentLocale" access="public" output="false"
returntype="string" hint="Returns the current locale string based on
if the client is logged in or not" bDocument="true">
<cfset var currentLocale = "" />
<cfif structkeyexists(session,"dmProfile")>
<cfset currentLocale = session.dmProfile.locale />
<cfelse>
<cfset currentLocale =
application.config.general.locale />
</cfif>
<cfreturn currentLocale />
</cffunction>
Element DMPROFILE.LOCALE is undefined in SESSION.
COLUMN 0
ID ??
LINE 103
RAW_TRACE at
cfRBCFC2ecfc1958366427$funcGETCURRENTLOCALE.runFunction(E:\InetPub
\farcry\core\packages\resources\RBCFC.cfc:103)
TEMPLATE E:\InetPub\farcry\core\packages\resources\RBCFC.cfc
TYPE CFML
--
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry