Uploaded image for project: 'FarCry Core Framework'
  1. FC-3135

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: FarCry 7.2
    • Fix Version/s: 7.2.10
    • Component/s: Libs (FAPI, etc)
    • Labels:
      None
    • Sprint:

      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"

        Attachments

          Activity

            People

            • Assignee:
              justincarter Justin Carter
              Reporter:
              andrew Andrew Mercer
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: