We're updating the issue view to help you get more done. 

application.fc.lib.error.showErrorPage() throws error if a farcry type that no longer exists

Description

If application.fc.lib.error.showErrorPage() is called for a farcry type that no longer exists error is thrown

Message: key [xxxxxx] doesn't exist

The Error Occurred in
/var/www/farcry/core/packages/lib/error.cfc: line 586
584: <!--- in the case of data views (json, xml, etc), return stream the data back in that type --->
585: <cfif isdefined("url.type") and len(url.type) and isdefined("url.view") and len(url.view)
586: and structkeyexists(application.stCOAPI[url.type].stWebskins,url.view)
587: and isdefined("application.stCOAPI.#url.type#.stWebskins.#url.view#.viewStack")
588: and application.stCOAPI[url.type].stWebskins[url.view].viewStack eq "data"

Environment

None

Status

Assignee

Justin Carter

Reporter

Andrew Mercer

Labels

None

Components

Fix versions

Affects versions

FarCry 7.2

Priority

Major