displaying top 100 results
Tracker Issue ORM referencing non-existing arguments in cffunction
ORM referencing non-existing arguments in cffunction
Bug 82405:cfspreadsheet write fails when used inside cffunction
Tracker Issue Bug 80552:Use of "LOCAL" inside a cffunction is broken
Bug 80552:Use of "LOCAL" inside a cffunction is broken
Argument variable with elvis operator crashes inside cffunction
Comment on Bug 80552:Use of "LOCAL" inside a cffunction is broken by External U.
Comment on Bug 80552:Use of "LOCAL" inside a cffunction is broken by External U.
Comment on Bug 80552:Use of "LOCAL" inside a cffunction is broken by External U.
Bug 80153:[JFERNANDES] CFThread within a loop inside cffunction breaks local scope
Comment on Bug 80552:Use of "LOCAL" inside a cffunction is broken by External U.
Tracker Comment Comment on Argument variable with elvis operator crashes inside cffunction by Suchika S.
Comment on Argument variable with elvis operator crashes inside cffunction by Suchika S.
Comment on ORM referencing non-existing arguments in cffunction by Nimit S.
Comment on ORM referencing non-existing arguments in cffunction by ALEXANDER H.
Comment on Bug 80552:Use of "LOCAL" inside a cffunction is broken by External U.
Comment on Bug 80552:Use of "LOCAL" inside a cffunction is broken by External U.
Tracker Comment Comment on Need a quick way to set all cffunction's inside CFC to output=false by External U.
Comment on Need a quick way to set all cffunction's inside CFC to output=false by External U.
Comment on Bug 80717:CF8 & CF9 script does not like function name of 'default' This works<cffunction name=default> cffunction> by External U.
Comment on Bug 80717:CF8 & CF9 script does not like function name of 'default' This works<cffunction name=default> cffunction> by External U.
Comment on Bug 80717:CF8 & CF9 script does not like function name of 'default' This works<cffunction name=default> cffunction> by External U.
Tracker Issue Bug 76180:The cfcomponent and cffunctions in com
Bug 76180:The cfcomponent and cffunctions in com
Bug 79382:When you have a cfquery that within its body calls any cffunction that itself runs a cfquery, the containing cfquery will use the function’s query’s datasource and ignore the one passed to it as an at
Tracker Issue [Enhancement Request] cffunctions.js file to be loaded for an application only when its required
[Enhancement Request] cffunctions.js file to be loaded for an application only when its required
Need a quick way to set all cffunction's inside CFC to output=false
Tracker Comment Comment on [Enhancement Request] cffunctions.js file to be loaded for an application only when its required by External U.
Comment on [Enhancement Request] cffunctions.js file to be loaded for an application only when its required by External U.
Tracker Comment Comment on [Enhancement Request] cffunctions.js file to be loaded for an application only when its required by extuser
Comment on [Enhancement Request] cffunctions.js file to be loaded for an application only when its required by extuser
Tracker Comment Comment on [Enhancement Request] cffunctions.js file to be loaded for an application only when its required by extuser
Comment on [Enhancement Request] cffunctions.js file to be loaded for an application only when its required by extuser
Tracker Comment Comment on Need a quick way to set all cffunction's inside CFC to output=false by Rupesh K.
Comment on Need a quick way to set all cffunction's inside CFC to output=false by Rupesh K.
Tracker Comment Comment on Bug 83609:(Watson Migration Closure)[ANeff] Bug for: <cflogin /> within <cffunction /> creates variables by External U.
Comment on Bug 83609:(Watson Migration Closure)[ANeff] Bug for: within <cffunction /> creates variables by External U.
Tracker Comment Comment on Bug 83609:(Watson Migration Closure)[ANeff] Bug for: <cflogin /> within <cffunction /> creates variables by External U.
Comment on Bug 83609:(Watson Migration Closure)[ANeff] Bug for: within <cffunction /> creates variables by External U.
Tracker Comment Comment on Bug 83609:(Watson Migration Closure)[ANeff] Bug for: <cflogin /> within <cffunction /> creates variables by External U.
Comment on Bug 83609:(Watson Migration Closure)[ANeff] Bug for: within <cffunction /> creates variables by External U.
Tracker Comment Comment on CFDump Loss of Formatting by Paul M.
5964721 CF-4204866 Paul M. Martin P. had mentioned the problem with CFFUNCTION output setting with his vote and I missed it.
Portal Comment Comment on How to write onError method by BKBK
BKBK
Suggestion for a simple onError method:
<cffunction name=”onError”>
Portal Topic Here’s how you provide CFFUNCTION tag attributes when converting it to a script function
Here’s how you provide CFFUNCTION tag attributes when converting it to a script function
Comment on Bug 79382:When you have a cfquery that within its body calls any cffunction that itself runs a cfquery, the containing cfquery will use the function’s query’s datasource and ignore the one passed to it as an at by External U.
Portal Comment Comment on How to write onError method by sangeetab51931146
sangeetab51931146
i have used the onRequest method,before using my starting page of application was running properly.but not now.
and this is may on request function:
<cffunction
name="onRequestStart"
access="public"
returntype="boolean"
output
Tracker Comment Comment on [Enhancement Request] cffunctions.js file to be loaded for an application only when its required by Akhila K.
Comment on [Enhancement Request] cffunctions.js file to be loaded for an application only when its required by Akhila K.
Tracker Comment Comment on [Enhancement Request] cffunctions.js file to be loaded for an application only when its required by extuser
Comment on [Enhancement Request] cffunctions.js file to be loaded for an application only when its required by extuser
Tracker Comment Comment on CFCLIENT: dateFormat : format does not work when used without any delimited in between by Adobe D.
2609984 CF-3739355 Adobe D. Getting the correct output in mozilla, IE and safari when using the createDateTime cffunction
(Comment added from ex-user id:prk)
Tracker Comment Comment on Bug 83609:(Watson Migration Closure)[ANeff] Bug for: <cflogin /> within <cffunction /> creates variables by Nimit S.
Comment on Bug 83609:(Watson Migration Closure)[ANeff] Bug for: within <cffunction /> creates variables by Nimit S.
Tracker Comment Comment on Bug 83609:(Watson Migration Closure)[ANeff] Bug for: <cflogin /> within <cffunction /> creates variables by S P.
Comment on Bug 83609:(Watson Migration Closure)[ANeff] Bug for: within <cffunction /> creates variables by S P.
Tracker Comment Comment on Bug 83609:(Watson Migration Closure)[ANeff] Bug for: <cflogin /> within <cffunction /> creates variables by External U.
Comment on Bug 83609:(Watson Migration Closure)[ANeff] Bug for: within <cffunction /> creates variables by External U.
Comment on Bug 78715:The new, implicit "local" scope within a <cffunction> breaks backwards compatibility with previous versions of CF when creating a var'd variable called "local" by External U.
Comment on Bug 78715:The new, implicit "local" scope within a <cffunction> breaks backwards compatibility with previous versions of CF when creating a var'd variable called "local" by External U.
Comment on Bug 78715:The new, implicit "local" scope within a <cffunction> breaks backwards compatibility with previous versions of CF when creating a var'd variable called "local" by External U.
Comment on Bug 74804:This ER is to do with the proposed feature of being able to write CFComponent and it's related CFFunction using a scripting syntax by External U.
Bug 82450:(Watson Migration Closure)[ANeff] ER for: cffunction useLocalScope="true|false" + functionLocalScope()1) "useLocalScope" (boolean) attribute to cfcomponent & cffunction2) functionLocalScope() (suggested by Elliott
Bug 87265:-(Watson Migration Closure)Which this is a known JVM issue, the problem here is that a CFFUNCTION that compiles just fine on CF8, fails to compile with this error on CF9
Bug 82411:(Watson Migration Closure)I'd like a "final" attribute for CFFUNCTION that when used inside a CFC, disallows the ability for any CFC that extends it to have a function of the same name, overriding it
Portal Topic Retrieve multiple email
sangeetab51931146 Retrieve multiple email I need to retrieve multiple email which is provided in the form..And for every mail i need to create unique id.please help with this.
The post Retrieve multiple email appeared first on ColdFusion. cffunction,CFML Tag/Function,Question,cfml tag/function,ColdFusion,question
Portal Topic Error handling
.
The post Error handling appeared first on ColdFusion. cffunction,CFML Tag/Function,Question,cfml tag/function,ColdFusion,question
Tracker Comment Comment on [ANeff] Bug for: writeLog/cflog does not log application name when called within onApplicationEnd() by External U.
2609453 CF-3846187 External U. (Note: My code in the description has a typo.. the closing for onRequestEnd() is currently "/cffunction>". Sorry about that. When running the code, please just add the missing left angle bracket.)
Comment on Bug 87265:-(Watson Migration Closure)Which this is a known JVM issue, the problem here is that a CFFUNCTION that compiles just fine on CF8, fails to compile with this error on CF9 by Adobe D.
Comment on Bug 87265:-(Watson Migration Closure)Which this is a known JVM issue, the problem here is that a CFFUNCTION that compiles just fine on CF8, fails to compile with this error on CF9 by Immanuel N.
Bug 86402:-(Watson Migration Closure)This code compiles/runs fine:<cffunction name="foo" a:b="123">cffunction>This code throws a syntax error: ("Invalid CFML construct found")function foo() a:b="123" {}
Bug 80717:CF8 & CF9 script does not like function name of 'default' This works<cffunction name=default> cffunction>
Tracker Comment Comment on Bug 80408:(Watson Migration Closure)I have this: <a href="/#getSetting('defaultPage')#">Home</a>Yields / index by Nikhil D.
variables must be in cfoutput tags.|
So, entire body of cffunction is processed like cfoutput tag. That's why all /n /r characters are also written to output. In the testcase mentioned, function is returning the value correctly and all the body of function is written to html output which looks like space
Bug 74804:This ER is to do with the proposed feature of being able to write CFComponent and it's related CFFunction using a scripting syntax
Tracker Issue CFLDAP result cannot be in LOCAL scope
3542266 CF-4199831 Language : Tags Bernhard Döbler CFLDAP result cannot be in LOCAL scope Problem Description:
I call CFLDAP tag in a cffunction, and therefore pass local.ldapquery as name attribute to the CFLDAP tag
Steps to Reproduce:
{code:java}
{code}
Actual Result:
Throw: The value
Tracker Comment Comment on Internal CFC functions return string variables with a strange non-trimmable preceeding space by Chandan ..
not generate that space because you take its returned variable and cfoutput it. To remove that space use output="false" with cffunction. CreateObject works similar to cfinvoke.
2611035 CF-3648781 Rupesh K. It is not about half implementation at all. Outside cfscript, functions are declared using cffunction tag. Now how do you define the closures in tag syntax? The only way to do that would be using an ugly mix of script and tag which would look like
To me, this syntax
accept any valid MIME type.
Current workarounds are to create a facade, for the CFC, that returns the correct MIME type; enable output within the cffunction tag and use cfcontent within the cffunction tag to return the correct MIME type.
However, setting a MIME type with cfcontent, in a cffunction tag
Tracker Issue Implicitly declare array fails when var scoped
2827197 CF-4198314 Language : Functions Jake Munson Implicitly declare array fails when var scoped Problem Description: CF Update 11 for ColdFusion 11 has a bug with implicit array declaration inside cffunction. If you var scope a variable that is implicitly declared, CF throws an error.
Steps
2673312 CF-4127481 Language : Functions Joel Grimes Whitespace stripped when output=true and cfoutput is outside function Problem Description:In a cf function with output="true", whitespace is stripped between output variables when the cfoutput is not inside the cffunction.
Steps to Reproduce
Tracker Issue Weird transaction issue with implicit struct and array
2596886 CF-3505517 Language : CF Component Chia Ching Tan Weird transaction issue with implicit struct and array Duplicate ID: CF-3482734
Problem Description:
When passing implicit struct and array in to a cffunction from a cfcomponent, we are getting very weird result when execute within a
Tracker Issue Code Hinting
Extensions for dreamweaver. Edit a ColdFusion page in dreamweaver and type <CFFunction space... no "returnformat" attribute is displayed. The "returnformat" attribute has been available since ColdFusion 8. See screen snapshot of what i see.
Actual Result:
Expected Result:
Any Workarounds
Tracker Comment Comment on Bug 83609:(Watson Migration Closure)[ANeff] Bug for: <cflogin /> within <cffunction /> creates variables by External U.
Comment on Bug 83609:(Watson Migration Closure)[ANeff] Bug for: within <cffunction /> creates variables by External U.
Tracker Comment Comment on Bug 83609:(Watson Migration Closure)[ANeff] Bug for: <cflogin /> within <cffunction /> creates variables by External U.
Comment on Bug 83609:(Watson Migration Closure)[ANeff] Bug for: within <cffunction /> creates variables by External U.
Comment on Bug 79277:Here’s the original function that’s bombing (my indents don’t seem to be preserved when I post):<cffunction name="welcome">Welcome!" />
Tracker Comment Comment on CFDump Loss of Formatting by Paul M.
5964721 CF-4204866 Paul M. Further update.... I've found it's not necessarily the TAG that is causing the missing formatting but the CFFUNCTION attribute: output="false".
If you change the output to: TRUE the formatting returns. This only started happening in CF2018. In this CFFiddle if you
declarations and cffunction tags, and functions that are ColdFusion component methods. For CFC methods, first instantiate the component.
-----------
Suggested wording (note the inclusion of "CFScript function expressions"):
-----------
The IsCustomFunction function returns True for any function that can
Portal Topic generatesecrate key
(inviteandandSurvey,encryptionKey,”surveyID_InviteID”,”hex”) />
The post generatesecrate key appeared first on ColdFusion. cffunction,CFML Tag/Function,Question,cfml tag/function,ColdFusion,question
Tracker Issue Order of REST handlers affects accessibility
have two cffunctions defined for the same endpoint and method, one without an additional restpath argument and one with. If the one without the restpath argument is defined first, CF/jersey never seems to find the second handler. If the order is swapped so that the handler with the additional
Tracker Issue [ANeff] Bug for: writeLog/cflog does not log application name when called within onApplicationEnd()
TimeSpan(0,0,0,5);
/cffunction>
Actual Result: myAppName.log does not contain application name when writeLog()/cflog is called from within onApplicationEnd().
Expected Result: myAppName.log should contain application name when writeLog()/cflog is called
Tracker Issue Bug 85883:(Watson Migration Closure)Summary: possible memory leak with <cfmodule>See this thread on stackoverlow
2597633 CF-3043102 Performance Adam Cameron Bug 85883:(Watson Migration Closure)Summary: possible memory leak with See this thread on stackoverlow Problem:
Summary: possible memory leak with See this thread on stackoverlow.com (http://stackoverflow.com/questions/4628060/memory-leak-looping-cfmodule-inside-cffunction
Tracker Issue Bug 83609:(Watson Migration Closure)[ANeff] Bug for: <cflogin /> within <cffunction /> creates variables
Bug 83609:(Watson Migration Closure)[ANeff] Bug for: within <cffunction /> creates variables
Tracker Comment Comment on Bug 83609:(Watson Migration Closure)[ANeff] Bug for: <cflogin /> within <cffunction /> creates variables by External U.
Comment on Bug 83609:(Watson Migration Closure)[ANeff] Bug for: within <cffunction /> creates variables by External U.
Portal Comment Comment on ColdFusion (2018 release) Update 5 and ColdFusion (2016 release) Update 12 released by Vincent Krist
.functions.dummyFunction(VAL(variables.testQuery.data))>
#variables.testQuery.data#
FUNCTIONS.CFC CODE
<cffunction name="dummyFunction" returnType="numeric" access="remote" returnformat="plain">
FUNCTIONS.CFC CODE
Fusion. cffunction,CFML Tag/Function,Question,2018,cfml tag/function,question
Tracker Issue Enabling Roles attribute for CFCOMPONENT
for CFFUNCTIONS will be great aid for developers to architect systems much more easily and cut down dependency on custom framework based functionalities and implementations.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4126377
External Customer Info
Tracker Issue Enabling Roles attribute for CFCOMPONENT
for CFFUNCTIONS will be great aid for developers to architect systems much more easily and cut down dependency on custom framework based functionalities and implementations.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4126372
External Customer Info
Tracker Issue Enabling Roles attribute for CFCOMPONENT
grained control for application modelling and architecting. I hope this will be easy to do for Adobe although CF2016 is in advanced stages of prerelease. This feature along with the previously submitted request for OnBeforeExecution and OnAfterExecution decorators for CFFUNCTIONS will be great aid
Tracker Issue Bind does not find elements by ID attribute in CFSELECT
:
Construct a CFSELECT that is populated dynamically from a query after a selection from another cfselect.
The CFSELECT I am binding to has an id of "device_select_event_1" and the bind attribute of the 2nd CFSELECT is "cfc:AjaxProxy.getDeviceFromEvent(event_id={device_select_event_1})"
There is a cffunction
that name to a UDF or similar cffunction. This is the issue that throws the "complex obj referenced as tho a simple variable" There appears to be no way around this ! unDef - simply needs to return YES or NO depending on whether its input (being the NAME of an arguments.struct element) of the CFfunc
the request ends. Only this combination produces the error.
Method:
See this stackoverflow question for a code that reproduces the error because I'm not reproducing here as this Flash based tracker is awful: http://stackoverflow.com/questions/4628060/memory-leak-looping-cfmodule-inside-cffunction
Result
Bug 78715:The new, implicit "local" scope within a <cffunction> breaks backwards compatibility with previous versions of CF when creating a var'd variable called "local"
if the user omits the attribute). This should be true for cfcomponent, cffunction and cfargument.
Furthermore, array elements in the metadata should always be present and be empty (zero elements). Right now, metadata-driven programs have to test structKeyExists(metadata,"functions") instead of just simply
).
This would solve a lot of problems and is completely consistent with local. and the access conventions of cffunction definitions, as well as providing a 10 second learning curve.
Method:
Result:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3036963
Tracker Issue Placing or typing single line comment does not recognize color code preference while editing
.
Another work around while editing is to copy the entire cfscript or cffunction and replace (paste) itself. This make the corrections, as I assume the editor properly renders based on the paste.
You will see if you copy my code example, it behaves as expected. But if you add new comments the color coding
2612193 CF-3546046 Paul N. RestSetResponse is not like return statement. RestSetResponse does not actually return anything. It just sets the custom response, which ColdFusion gets and sends the response.
In ColdFusion, cffunctions should adhere to the return type. If you have specified a return
Tracker Issue Bug 76182:Lots of bugs in Tag Service cfcs in com
in the server scope?
listsort(getSupportedTagAttributes(getTagName()),"textnocase","ASC")
[b]com.adobe.coldfusion.System:[/b]
Missing output="false" on the cfcomponent.
Missing output="false" on the cffunctions.
Missing var for variables in manipulateArguments(). Calling any system method from two
-critical because without it we lose the ability to use custom tags without building a tag-based cffunction wrapper to access them. Without this, a critical portion of ColdFusion's code reuse and high-level funcitonality is gone for those using script-based syntax.
Case in point: Model-Glue uses a custom tag
Tracker Issue OnBeforeExecution, OnAfterExecution method decorators
2673583 CF-4126378 Language : CF Component Sathish Kumar OnBeforeExecution, OnAfterExecution method decorators Hi,
I would like to submit a request for ColdFusion12 to have additional attributes for CFCOMPONENT and also for CFFUNCTION tags when it is used inside CFCOMPONENT to declare methods
Tracker Issue OnBeforeExecution, OnAfterExecution method decorators
2673586 CF-4126373 Language : CF Component Sathish Kumar OnBeforeExecution, OnAfterExecution method decorators Duplicate ID: CF-4126378
Hi,
I would like to submit a request for ColdFusion12 to have additional attributes for CFCOMPONENT and also for CFFUNCTION tags when it is used inside
as a type "Function" preventing it from being accepted by other components which require the type to be "Function".
Function is not listed in the documentation as being prohibited:
https://wikidocs.adobe.com/wiki/display/coldfusionen/cffunction
Surprisingly, this happens whether or not "Disable CFC
Tracker Issue Local scope is broken outside of CFCs
2613344 CF-3332168 Language Scott Harvey Local scope is broken outside of CFCs Problem Description: I migrated from CF 8 to CF 10. In CF 8 I could update a variable in a structure called "Local" with the cfsavecontent function. This code is not in a cffunction and it gives me unexpected results
Tracker Issue Bug 72736:From Customer: cfcompile
(cfml40.java:307)
at coldfusion.compiler.cfml40.cfml(cfml40.java:2569)
at coldfusion.compiler.cfml40.cffunction(cfml40.java:2130)
at coldfusion.compiler.cfml40.cfml(cfml40.java:2583)
at coldfusion.compiler.cfml40.start(cfml40.java:2712)
at coldfusion
.compiler.cfml40.cftag(cfml40.java:224)9 at coldfusion.compiler.cfml40.cfml(cfml40.java:4238)10 at coldfusion.compiler.cfml40.cffunction(cfml40.java:3593)11 at coldfusion.compiler.cfml40.cfml(cfml40.java:4224)12 at coldfusion.compiler.cfml40.start(cfml40.java:4525)13 at coldfusion
()
{
return "this is func1";
}
i am in cfc
--->
test[] function test2()
{
myobj1=createobject("component","test");
return [myobj1];
}
the commented part has cffunction which works with return type=test[] but that doesnt work for function in cfscript.
--------------repro
Bug 79277:Here’s the original function that’s bombing (my indents don’t seem to be preserved when I post):<cffunction name="welcome">Welcome!" />