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

Calling static function will suppress output after called

    Details

    • Type: Bug
    • Status: Deployed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1.4.8
    • Labels:
      None
    • Sprint:
      April 2017 Sprint

      Description

      This seems to happen with a component with output="no"

      Example:

      // /cfc/somecomonent.cfc
      <cfcomponent output="no">
      <cfscript>
      	static function something() {
      		return true;
      	}
      </cfscript>
      </cfcomponent>
      
      <cfscript>
      writeoutput("this outputs")
      cfc.somecomonent::something()
      writeoutput("this does not")
      </cfscript>
      

      This might be similar to https://luceeserver.atlassian.net/browse/LDEV-270

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                michaeloffner Michael Offner
                Reporter:
                kevin Kevin Koltz
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: