Uploaded image for project: 'Lucee Development'
  1. LDEV-696

cfdump eval throws wrong error when evaluation failed

    Details

    • Type: Bug
    • Status: Deployed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.0.153
    • Fix Version/s: 5.0.0.166
    • Labels:

      Description

      When the evaluation of a <cfdump eval="..."> fails, the displayed error is now always
      attribute "eval" cannot be evaluated because it is not a string, the attribute "eval" is not supported for the Lucee dialect.

      Stacktrace:
      {{lucee.runtime.exp.CustomTypeException: attribute "eval" cannot be evaluated because it is not a string, the attribute "eval" is not supported for the Lucee dialect.
      at lucee.runtime.tag.Throw._doStartTag(Throw.java:212)
      at lucee.runtime.tag.Throw.doStartTag(Throw.java:201)
      at dump_cfc$cf.udfCall1(/Users/frinky/lucee-5.0.0.153-azuretest/lucee-server/context/library/tag/Dump.cfc:66)
      at dump_cfc$cf.udfCall(/Users/frinky/lucee-5.0.0.153-azuretest/lucee-server/context/library/tag/Dump.cfc)
      at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:105)
      at lucee.runtime.type.UDFImpl._call(UDFImpl.java:337)
      at lucee.runtime.type.UDFImpl.callWithNamedValues(UDFImpl.java:208)
      at lucee.runtime.ComponentImpl._call(ComponentImpl.java:698)
      at lucee.runtime.ComponentImpl._call(ComponentImpl.java:580)
      at lucee.runtime.ComponentImpl.callWithNamedValues(ComponentImpl.java:1919)
      at lucee.runtime.tag.CFTag.cfcStartTag(CFTag.java:395)
      at lucee.runtime.tag.CFTag.doStartTag(CFTag.java:177)
      at test.index_cfm$cf.call(/Users/frinky/lucee-5.0.0.153-azuretest/webapps/ROOT/test/index.cfm:12)
      at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:907)
      at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:822)
      [....]}}

        Attachments

          Activity

            People

            • Assignee:
              michaeloffner Michael Offner
              Reporter:
              frinky Paul Klinkenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: