displaying top 100 results
Tracker Issue Show the line of code in the writeDump
Show the line of code in the writeDump
Bug 79763:documentation for writeDump does not show the abort attribute
Tracker Issue cfdump and writeDump produce duplicate JS and CSS code
cfdump and writeDump produce duplicate JS and CSS code
WriteDump() should have an option to output to a new line
Tracker Comment Comment on cfdump and writeDump produce duplicate JS and CSS code by Vamseekrishna N.
Comment on cfdump and writeDump produce duplicate JS and CSS code by Vamseekrishna N.
Comment on cfdump and writeDump produce duplicate JS and CSS code by External U.
Comment on cfdump and writeDump produce duplicate JS and CSS code by Aaron N.
Tracker Issue [ANeff] Bug for: writeDump(BIF) (and cfdump) exception or misleading when NULL enabled
[ANeff] Bug for: writeDump(BIF) (and cfdump) exception or misleading when NULL enabled
Bug 83000:(Watson Migration Closure)[ANeff] Bug for: semicolon not required after writeDump()writeDump('') (no ";")does not throw error, but should?
Tracker Comment Comment on The parser / compiler falsely identifies methods as operators. by John W.
2672562 CF-4187705 John W. Another example if it's useful that should be valid:
function eq(a, b) {
return a == b;
}
writeDump(eq(1, 2));
writeDump(1 eq 2);
Comment on Bug 83000:(Watson Migration Closure)[ANeff] Bug for: semicolon not required after writeDump()writeDump('') (no ";")does not throw error, but should? by Anit K.
2673404 CF-4126638 External U. I'm seeing this too. Both writeDump() and .
Tracker Comment Comment on writeLog(), throw(), writeDump() not implemented as fucntions correctly by External U.
Comment on writeLog(), throw(), writeDump() not implemented as fucntions correctly by External U.
Tracker Comment Comment on writeLog(), throw(), writeDump() not implemented as fucntions correctly by External U.
Comment on writeLog(), throw(), writeDump() not implemented as fucntions correctly by External U.
Tracker Comment Comment on writeLog(), throw(), writeDump() not implemented as fucntions correctly by External U.
Comment on writeLog(), throw(), writeDump() not implemented as fucntions correctly by External U.
Tracker Comment Comment on writeLog(), throw(), writeDump() not implemented as fucntions correctly by External U.
Comment on writeLog(), throw(), writeDump() not implemented as fucntions correctly by External U.
Tracker Comment Comment on writeLog(), throw(), writeDump() not implemented as fucntions correctly by External U.
Comment on writeLog(), throw(), writeDump() not implemented as fucntions correctly by External U.
Tracker Issue [ANeff] Doc ER for: writeDump() suggestion
[ANeff] Doc ER for: writeDump() suggestion
WriteDump() With Format=Text Inside CFSaveContent Inside CFThread
Tracker Comment Comment on Bug introduced in ColdFusion 9 still plagues us today - session scope gets trashed by External U.
example
writeDump(session) would dump the session as writeDump(local) wold dump the local scope.
But
writeDump(local.session) should dump the variable defined in the local scope.
Tracker Comment Comment on Function SerializeJSON() converts employee's last name ("No") to boolean false in JSON output by External U.
2613240 CF-3337394 External U. Hi all,
Just noting the CFC property issue is fixed in CF11 Update 3 per #CF-3845642. Repro:
CF11 Final (11,0,0,289822):
writeDump(serializeJson(o));//returns string: {"SURNAME":false,"TITLE":"Doctor"}
writeDump(deserializeJSON(serializeJson(o)));//returns struct
2902730 CF-4198389 Language : Expressions Edward Keighley Ternary operator doesn't short-circuit with implicit array/struct expressions Steps to Reproduce:
{code:java}
a = 1; b = 1;
x = true ? [a++] : [b++];
writeDump(a);
writeDump(b);
writeDump(var=x, abort=true);
{code}
Actual Result:
a==2
Tracker Comment Comment on CFDUMP and writeDump() fail when hiding struct elements via "hide" attribute/argument by S P.
Comment on CFDUMP and writeDump() fail when hiding struct elements via "hide" attribute/argument by S P.
Tracker Comment Comment on WriteDump() With Format=Text Inside CFSaveContent Inside CFThread by External U.
Comment on WriteDump() With Format=Text Inside CFSaveContent Inside CFThread by External U.
Tracker Comment Comment on WriteDump() With Format=Text Inside CFSaveContent Inside CFThread by External U.
Comment on WriteDump() With Format=Text Inside CFSaveContent Inside CFThread by External U.
Tracker Comment Comment on writeLog(), throw(), writeDump() not implemented as fucntions correctly by External U.
Comment on writeLog(), throw(), writeDump() not implemented as fucntions correctly by External U.
Tracker Comment Comment on writeLog(), throw(), writeDump() not implemented as fucntions correctly by External U.
Comment on writeLog(), throw(), writeDump() not implemented as fucntions correctly by External U.
Comment on Bug 77330:WriteDump() should be just Dump() for consistency with the other tags and functions cfabort and abort, cftrace and trace, etc) by External U.
Comment on Bug 77330:WriteDump() should be just Dump() for consistency with the other tags and functions cfabort and abort, cftrace and trace, etc) by External U.
Comment on Bug 77330:WriteDump() should be just Dump() for consistency with the other tags and functions cfabort and abort, cftrace and trace, etc) by External U.
Tracker Comment Comment on Bug 74105:(Watson Migration Closure)Please make semicolon optional in CFSCRIPT by Aaron N.
2602311 CF-3036996 Aaron N. +1 - It currently works for writeDump()
Bug 85293:(Watson Migration Closure)While writeDump() can be used to send a variable dump to the browser, a file, or the console from a script component, it can not be used to generate output and save it to a variable (for example, to i
be done.
Can this ticket also please be re-opened to add: .binaryEncode(), .charsetEncode() and .formatBaseN()?
Thanks!,
-Aaron
P.S. Verified using the following code (added to Adam's code from his blog):
writeOutput("toBase64()");
writeDump(var=safeCall(function(){
return textString.toBase64
Tracker Comment Comment on Rest Service returning 204 No Content by External U.
2608194 CF-4166169 External U. I have simplified my cfc down to the following:
component rest="true" restpath="/restTest" {
remote string function sayHello() httpMethod="GET"{
writeDump(var="----Saying Hello----",output="console");
return "Hello World";
}
}
Even with or without the writeDump
Tracker Comment Comment on DirectoryList sometimes errors on empty string for filter when using UNC paths by External U.
it as ticketCF-3863993
2) Create C:\ticketCF-3863993\myfile.txt
3) Run the following code:
//These fail
writeDump(directoryExists("file://localhost/C:/ticketCF-3863993"));//Returns NO
q = directoryList("file://localhost/ticketCF-3863993", false, "query", "");//Throws exception: Could not find files
Tracker Comment Comment on writeLog(), throw(), writeDump() not implemented as fucntions correctly by Milan C.
Comment on writeLog(), throw(), writeDump() not implemented as fucntions correctly by Milan C.
2610287 CF-3713043 External U. This needs to be reopened. map() is fixed (and presume reduce() is), but you've not been very meticulous here... you've not fixed each(). Repro:
list = "|2|4|";
list.each(function(){
writeDump(arguments);
}, "|", true);
Compare the output of that to what it should
Tracker Comment Comment on Null cannot be used as a component name by Aaron N.
4322443 CF-4202429 Aaron N. Hi Adobe,
Original ticket in PR: CF-4201487
function f(null=true) {//coldfusion.compiler.ParseException
writeDump(null);
}
f();
foo = new Null()//coldfusion.runtime.UndefinedVariableException
writeDump(foo)
Re-open/fix/communicate.
Thanks!,
-Aaron
Tracker Issue Cannot assign function expression to dynamic variable
3584275 CF-4199998 Language Adam Cameron Cannot assign function expression to dynamic variable This works:
suffix = "Something";
"myString#suffix#" = "a string";
writeDump(variables);
*This* works:
myFunctionSomething = function (){};
writeDump(variables);
This should work, but does not
Tracker Issue Bug 82608:ormsettings
:Author = entityLoadByPK("Author",1);writeDump(Author);Author.setName("Carol");writeDump(Author);transaction {writeDump(Author);Author.setName("Daniel");writeDump(Author);}entityReload(Author);writeDump(Author);Assuming that the Name property of Author contains "Bob" in the database, I’d expect the names in my
Tracker Issue Nulls go to undefined when getQueryRow() is used
in an exception.
Steps to Reproduce:
{code:java}
q = queryExecute("select null as ncol, '' as ecol", { }, { datasource = "myfrst" } );
writeDump(q);
r = queryGetRow(q, 1);
writeDump(r);
writeDump(structKeyList(r));
writeDump(structKeyExists(r, 'ncol'));
for(k in r){
writeDump(r[k]);
}
{code
Bug 77330:WriteDump() should be just Dump() for consistency with the other tags and functions cfabort and abort, cftrace and trace, etc)
Tracker Comment Comment on Built-in functions as "first class" glitch in function expressions by Rupesh K.
2609896 CF-3749296 Rupesh K. The problem looks to be in calling any method on built in function
writeDump(mid.getClass().getName()); // Errors out
The following code works fine
------------
writeOutput("Built-in function");
writeOutput("Via direct reference");
safe(function(){
writeDump
={};
var request={};
var form={};
var url={};
var variables={};*/
//End CF workaround
var application.foo = "bar";
var session.foo = "bar";
var request.foo = "bar";
var form.foo = "bar";
var url.foo = "bar";
var variables.foo = "bar";
return local;
}
writeDump
Tracker Issue struct.filter() missing
";
});
writeDump([base,filtered]);
try {
filtered = base.filter(function(k,v){
return k == "c" || v =="d";
});
writeDump([base,filtered]);
}catch (any e){
writeDump([e.type,e.message,e.detail]);
}
Good work on the rest of them though!
--
Adam
----------------------------- Additional Watson Details
3045523 CF-4198565 John W. The example above demonstrates `Lexical scoping` - similar example as above:
```
xa = a(10);
ya = xa(100);
writeDump(ya);
function a(n) {
function inner(factor) {
return n * factor;
};
return inner;
}
```
The above works.
The following fails
2612472 CF-3506225 External U. Regarding the "Errors attempting to dump values", I see the "Variable KEYVALUE is undefined." error was fixed in CF11.
In CF10, I see writeDump() was throwing that error if any of the middle keys were missing in a numerically-key'd struct. Example (throws error in CF
Tracker Comment Comment on Function SerializeJSON() converts employee's last name ("No") to boolean false in JSON output by External U.
2613240 CF-3337394 External U. Confirmed working in CF2016 u2:
myStruct = {};
myStruct.FName = "Doctor";
myStruct["LName"] = "No";
WriteDump(myStruct);
myJSON = SerializeJSON(myStruct);
WriteDump(myJSON); // Evals to false
myStruct.setMetadata( { "LName": "String" } ); //fix
Tracker Comment Comment on GetMetaData(cfc) returns null by Chris P.
= new com.dealerpeak.vo.User();
// Calling a method on it works. (So, it *is* an instance of a CFC.)
c.setActive(true);
var cm = GetComponentMetaData("com.dealerpeak.vo.User");
WriteDump([
"cfc": c, // undefined
"meta": cm, // undefined
"c.active": c.getActive() // works
Tracker Comment Comment on [ANeff] Bug for: NULL is not final by Piyush K.
Test-f
struct
BAR: asdf
FOO: asdf
NULL: asdf
---------------------------------------------------------------------------
function null() {
var bar = null
return bar
}
writeDump(null())
writeDump(variables)
writeOutput(application.applicationname);
null = "asdf"
foo = variables
5911192 CF-4204688 Language araryEach() stopped passing array reference to UDF in 2018 Problem Description:
The following code dumps out 3 parameters in the arguments for Railo, Lucee, and Adobe 11, and 2016 scope (value, index, and original array)
arrayeach( ['a'], function() {
writeDump
CFDUMP and writeDump() fail when hiding struct elements via "hide" attribute/argument
4261839 CF-4202198 Debugging : writeDump [ANeff] Bug for: array dump header should display (unsynchronized) and ({dataType}) Issue: ordered struct dump header displays (ordered), good, but unsynchronized array dump header doesn't display (unsynchronized) and typed array header doesn't display
Bug in writeDump() / CFDUMP with non-contiguous-numerically-keyed argumentcollection
2556976 CF-4197194 External U. Hi John,
Interestingly, writeDump(variables.counter) returns 1.
Adobe, could you please explain the reported bizarre behavior?
Thanks!,
-Aaron
Tracker Comment Comment on cfwddx doesn't work in script by External U.
2609222 CF-3909707 External U. We need a repro, Ray. As discussed, this works fine for me:
cfwddx(action="cfml2wddx", input={}, output="w");
writeDump(var=variables);
--
Adam
2609262 CF-3863521 External U. And there's no reason to *not* support it. It's just a wrapper for writeDump(), I hope? Or both are wrappers for the underlying code or something? Not two separate pieces of code.
Tracker Comment Comment on writeLog(), throw(), writeDump() not implemented as fucntions correctly by External U.
Comment on writeLog(), throw(), writeDump() not implemented as fucntions correctly by External U.
Tracker Comment Comment on writeLog(), throw(), writeDump() not implemented as fucntions correctly by Milan C.
Comment on writeLog(), throw(), writeDump() not implemented as fucntions correctly by Milan C.
Tracker Comment Comment on writeLog(), throw(), writeDump() not implemented as fucntions correctly by External U.
Comment on writeLog(), throw(), writeDump() not implemented as fucntions correctly by External U.
Tracker Comment Comment on writeLog(), throw(), writeDump() not implemented as fucntions correctly by External U.
Comment on writeLog(), throw(), writeDump() not implemented as fucntions correctly by External U.
2609849 CF-3758172 External U. Anit,
As per my email. Simple FORM posts fail with this new DLL. I get a 404. You can test with the following:
Test
writeDump(form);
Tracker Comment Comment on Accept an assignment statement as a parameter for built-in CF functions by External U.
2612212 CF-3540467 External U. +1. Indeed. Event SOME native functions will accept name/value pairs (eg: writeDump(), throw()) and not others. This sort of incoherent approach to syntax ought to be ironed out.
--
Adam
Tracker Comment Comment on [ANeff] Bug for: Aether missed correcting some member functions by Aaron N.
4223283 CF-4202044 Aaron N. Repro code (see comments for expected result):
s = {foo="bar"}
writeDump(s.clear())//returns YES (should return empty object like arrayObj.Clear())
q = queryNew("myColumn1")
writeDump(q.addColumn("myColumn2", "varchar", []))//returns 2 (should return
Tracker Comment Comment on [ANeff] Bug for: writeDump(BIF) (and cfdump) exception or misleading when NULL enabled by Aaron N.
Comment on [ANeff] Bug for: writeDump(BIF) (and cfdump) exception or misleading when NULL enabled by Aaron N.
6986713 CF-4207690 Bradley W. Oops, I was testing this on Lucee as well and left in the dump() function. That will need changed to writeDump() for Adobe CF.
Related Lucee ticket: https://luceeserver.atlassian.net/browse/LDEV-2793
Portal Comment Comment on Union and diff of arrays by Tushar Bhaware
, set2);
writeDump(result); // 0, 6
writeDump(set1); // 0, 2, 4, 6
Tracker Comment Comment on CFTRACE and trace() behave differently by External U.
2609669 CF-3811003 External U. Hi Himavanth and Rupesh,
Can you please confirm if writeDump(foo) returns "bar" for you, using the example below, on CF11 Update 3 (11,0,03,292245(PreRelease))?
trace(text="trace text"){foo="bar";};
writeDump(foo);//outputs bar
So what will be the "correction
Tracker Comment Comment on [ANeff] Bug for: coldfusion.sql.QueryColumn coersion broken for function argument by Aaron N.
4166478 CF-4201825 Aaron N.
q = queryNew("id", "integer", [[1],[2]]);
//writeDump(arrayToList(q["id"]));//returns 1,2 (good)
r = q["id"];
writeDump(r.getClass().getName());//returns coldfusion.sql.QueryColumn (good)
writeDump(arrayToList(r));//throws "coldfusion
Tracker Issue Be consistent with function statements inside closures
3045523 CF-4198565 Language : Closures John Whish Be consistent with function statements inside closures Problem Description:
Consider the following code, this compiles and runs, returning the expected outcome (good).
{code:java}
writeDump(a(10));
function a(n) {
function inner
writeDump(directoryExists("file://localhost/C:/ticket3863993"));//Returns NO
q = directoryList("file://localhost/ticket3863993", true, "query");
writeDump(q);//Directory column contains file:////localhost/ticket3863993/ instead of file://localhost/ticket3863993/
q = directory
Tracker Issue Cached queries ignore Query.Sort()
writeOutput('Unsorted');
writeDump(colours);
sorter = function(a,b){ return -1;};
colours.sort(sorter);
colours_cached.sort(sorter);
// the order of these should be identical
writeOutput('Colours sorted');
writeDump(colours);
writeOutput('Colours cached
Tracker Issue [ANeff] Doc Bug for: cfobject() _is_ supported
2609263 CF-3863518 Documentation Aaron Neff [ANeff] Doc Bug for: cfobject() _is_ supported Currently, the cfscript doc says:
The script support is not available for the following tags:
(use writeOutput() instead)
(use writeDump() instead)
(use invoke() instead)
(use createObject instead
Tracker Issue [ANeff] Bug for: some BIFs are not 1st class
4267605 CF-4202219 Language : Functions [ANeff] Bug for: some BIFs are not 1st class Issue: isNULL, location, parameterExists, preserveSingleQuotes, quotedValueList, throw, trace, valueList, writeDump and writeLog are not 1st class
Repro:
myNULL = NULL
function f(a) {
writeDump
Tracker Issue CFIDE.scheduler.ITaskEventHandler init method not called
="CFIDE.scheduler.ITaskEventHandler" {
public void function init () {
writeDump(var="Executing init method", output="console");
writeDump(var=application, output="console");
}
public boolean function onTaskStart (struct context) {
return true;
}
public void function onMisfire (struct context
Tracker Issue CFThread using name="x" kills thread scope
2608225 CF-4160540 Language brian king CFThread using name="x" kills thread scope Problem Description:
This code block
thread action="run" name="x" {
sleep(100);
}
thread action="join" name="x" timeout="100";
writeDump(cfthread);
generates an error "The value coldfusion
Tracker Issue Caching Not Working with QueryExecute
2608268 CF-4147522 Database Giancarlo Gomez Caching Not Working with QueryExecute Duplicate ID: CF-4087462
Problem Description: Caching Not Working with QueryExecute
Steps to Reproduce: Test with the following code, set your own SQL string.
#sqlString#
writeDump(q1);
writeDump
(action="getlistcollection", name="myResult", domain="my.domain.com", username="username", password="password", authtype="ntlm", ntlmdomain=" ");
writeDump(myResult);
//This succeeds:
cfsharepoint(action="getlistcollection", name="myResult", domain="my.domain.com", username="username", password="password", authtype
Tracker Issue [ANeff] Bug for: CF caches S3 metadata
2609183 CF-3915081 File Management Aaron Neff [ANeff] Bug for: CF caches S3 metadata Duplicate ID: CF-3226380
CF caches S3 metadata
Steps to reproduce:
1) run writeDump(storeGetMetadata("s3://mybucket/file.txt"))
2) add/edit/delete any of the object's metadata
3) run writeDump
to be serialized. To workaround the convert to float, one can use javacast("bigdecimal",num). However, there's no workaround to deserialize the number into a bigdecimal.
Method:
x = javacast('bigDecimal',4111111111111111);
y = serializeJSON(x);
z = deserializeJSON(y);
writeDump(x);
writeoutput("");
writeDump
],[2]]);
function f(array myArg) {return [ARGUMENTS.myArg.getClass().getName(), ARGUMENTS.myArg];}
if(isArray(q["id"])) {
writeDump(f(q["id"]));//shorter and should work
//writeDump(f(q.valueArray("id")));//unnecessary workaround
//writeDump(f(arrayNew(1).append(q["id"], true
"}};
return one.two.three;
}
writeDump(f1());//returns "four" (good)
{code}
Actual and Expected Result: "four"
{code:java}
function f2() {
var one = {two = {three = "four"}};
return function() {return one.two.three;};
}
c2 = f2();
writeDump(c2());//returns [null] (bad)
{code}
Actual
Tracker Issue incorrect serialization of undefined values.
:
function test(a, b, c) {
writeDump(arguments); // shows initial structure
cfwddx(action="cfml2wddx", input=arguments, output="local.payload");
writeDump(local.payload); // shows incorrect conversion of undefined argument c to empty string during serialization
write
Tracker Issue incorrect serialization of undefined values.
:
function test(a, b, c) {
writeDump(arguments); // shows initial structure
cfwddx(action="cfml2wddx", input=arguments, output="local.payload");
writeDump(local.payload); // shows incorrect conversion of undefined argument c to empty string during serialization
write
Tracker Issue incorrect serialization of undefined values.
:
function test(a, b, c) {
writeDump(arguments); // shows initial structure
cfwddx(action="cfml2wddx", input=arguments, output="local.payload");
writeDump(local.payload); // shows incorrect conversion of undefined argument c to empty string during serialization
write
:[
{
userid:'string'
}
]
};
x.setmetadata(metadata);
writeDump(SerializeJSON(x));
function queryToArrayOfStructs(q) {
var result = [];
for (row in q) {
var data = {};
data.setmetadata({
userid:'string',username:'string',firstname:'string'
});
for (var key in row
Tracker Comment Comment on ArrayFindAllNoCase by External U.
2613560 CF-3228672 External U. The problem here is that the "==" operator is not case sensitive, so you can't use it as a case-sensitive test.
array = ["orange","banana","apple","ORANGE","orange"];
writeDump(arrayFindAll(array,function(ele) { if(ele == "ORANGE") return true; return false
Tracker Comment Comment on [ANeff] Bug for: final ignored by Vijay M.
4356429 CF-4202542 Vijay M. All the cases have been fixed except the below two cases (explanation inline)-
6) Run:
-----------
final variables.foo = "bar"
function foo() {}//this line is completely ignored
writeDump(foo)
-----------
Actual Result: bar
Expected Result: coldfusion
:
-----------
invoke("MyCFC", "f")
writeDump(isNULL(FORM.foo))
-----------
Actual and Expected Result: YES
5) In MyCFC.cfc, change FORM.foo to URL.foo
6) Run index.cfm containing:
-----------
invoke("MyCFC", "f")
writeDump(isNULL(URL.foo))
-----------
Actual and Expected Result: YES
7) In My
[k] ?: {};
} catch (any e){
writeOutput("#e.message#");
} finally {
writeDump(st);
}
try {
st[k] = st.keyExists(k) ? st[k] : {};
} catch (any e){
writeOutput("#e.message#");
} finally {
writeDump(st);
}
Result: "Variable ___IMPLICITARRYSTRUCTVAR2 is undefined."
Expected: It should work.
Workaround
Portal Comment Comment on Union and diff of arrays by aliaspooryorik
aliaspooryorik Sorry about the formatting - I don't seem to be able to fix it!Arrays are based on java.util.AbstractList. You can find the super class by doing:---exampleArray = [];writeDump(exampleArray.getClass().getSuperClass().getSuperClass().getName());writeDump
Tracker Issue [ANeff] Bug for: .setMetadata() not chainable
3575009 CF-4199974 Language : Member Functions Aaron Neff [ANeff] Bug for: .setMetadata() not chainable Issue: .setMetadata() not chainable
Repro:
{code:java}
myStruct = {foo="Yes"};
metadata = {foo="boolean"};
writeDump(myStruct.setMetadata(metadata));
myArray = ["Yes"];
metadata
3583951 CF-4199999 Language Adam Cameron Cannot evaluate a string containing a function expression This should work
{code:java}
myFunction = evaluate("function(){}");
writeDump(variables);
{code}
it doesn't:
Invalid CFML construct found on line 1 at column 11.
ColdFusion was looking
to Reproduce:
x = y ?: {};
writeDump(x);
Actual Result:
The string "{"
Expected Result:
An empty struct
Any Workarounds:
x = y ?: structNew();
writeDump(x);
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4194596
Reason: BugVerified
External Customer
2608345 CF-4117325 Language Aaron Neff [ANeff] Bug for: duplicate(query) breaks query.getResult() duplicate(query) breaks query.getResult()
Repro:
q1 = queryExecute("SELECT * FROM art WHERE artID = 1", [], {datasource="cfartgallery", cachedwithin=createTimeSpan(0,0,0,10)});
writeDump(q1.get
Tracker Issue Member functions are not first class
function, eg:
This works:
writeDump(left);
This does not:
s = "";
ref = s.left;
writeDump(ref);
It should.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4094571
External Customer Info:
External Company:
External Customer Name: Adam Cameron
Tracker Issue Grammar error in error message
/ColdFusion/cfusion/wwwroot/shared/github-scratch/blogExamples/datatypes/queries/queryGetRow.cfm: line 7
5 : writeDump(records);
6 :
7 : row = queryGetRow(records, 1, true);
8 : writeDump(row);
9 :
It should read "The function takes 2 parameterS" (ie: plural).
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3845475
External Customer Info
2609472 CF-3844972 Language Bradley Wood Member functions can't be chained to struct/array literals The following two code examples run as expected on Railo, but produce errors on 11.2
{code:java}
writeDump( { foo:'bar' }.append( { bum:'baz' } ) );
writeDump( [ 'a', 'b' ].append( [ 'c', 'd
Arg){
writeDump(ARGUMENTS.myArg);
return ARGUMENTS.myArg;
}
q = queryNew("id", "integer", [[1],[2]]);
writeDump(f(q["id"]), "format", "text");
{code}
Result:
1 The value 1 returned from the function f is not of declared type numeric[].
Expected:
Validation at (numeric[] myArg) does not work
Tracker Issue Parsing error with fat arrow UDFs without body curlies
6254725 CF-4205247 Language : Closures Parsing error with fat arrow UDFs without body curlies Problem Description:
Passing a fat arrow UDF into a BIF with no curly braces around the body causes a parsing error.
Steps to Reproduce:
{code:java}
myArr = [3,3,3]
writeDump( myArr.reduce( (acc