Uploaded image for project: 'Railo'
  1. Railo
  2. RAILO-984

Error in Debugging: key [PRODUCTCONTEXTCOUNT] doesn't exist

    Details

    • Steps to Reproduce:
      Hide

      Upgrade from any railo version to the version 3.2.0.000. Make sure debugging is turned on and view any cfm page. The debugging display will error.

      Show
      Upgrade from any railo version to the version 3.2.0.000. Make sure debugging is turned on and view any cfm page. The debugging display will error.
    • Affects:
      Compatibility/Configuration
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      Manually comment out the non-essential line of code in all debugging templates.

      Show
      Manually comment out the non-essential line of code in all debugging templates.
    • Estimated Difficulty:
      Low

      Description

      Upon upgrading from Railo version 3.1.2.020 to 3.2.0.000 my debugging files encountered errors:

      key [PRODUCTCONTEXTCOUNT] doesn't exist in struct (keys:appserver,serialnumber,rootdir,productname,productlevel,installkit,productversion,expiration,supportedlocales)

      The Error Occurred in /var/www/pmtooldev/WEB-INF/railo/context/templates/debugging/debugging-neo.cfm: line 56

      54: #uCaseFirst(server.coldfusion.productlevel)#
      55: #uCase(server.railo.state)#
      56: <cfif server.coldfusion.productcontextcount NEQ "inf">(#server.coldfusion.productcontextcount#)</cfif>
      57: #server.railo.version#
      58: (CFML Version #server.ColdFusion.ProductVersion#)

      I simply went into the file and commented out the line. I'm not sure what the 'productcontextcount' is but I can't say that's what I'm looking for when I'm looking through the debugging information, so it was not essential to me.

      I tested futher by trying different debugging files available. The default 'debugging.cfm' did not have this issue, but the others did. I tested 'debugging-neo.cfm' and 'debugging-cascade.cfm' and both try to access the missing variable in version 3.2.0. I am actually using a customized version of 'debugging-neo.cfm' which I named 'debugging-neo-full.cfm' to display additional scopes and to display them in a different order. I realize a custom debugging file would not be updated by the upgrade. But the debugging templates offered natively should have been updated with the upgrade.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                micstriit Michael Offner
                Reporter:
                bagar Garrett Bach
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: