displaying top 100 results
Tracker Comment Comment on Wishlist by Adam C.
Comment on Wishlist by Adam C.
Tracker Comment Comment on IIFEs by Adam C.
Comment on IIFEs by Adam C.
Tracker Comment Comment on CFScript 2.0 by Adam C.
Comment on CFScript 2.0 by Adam C.
Tracker Comment Comment on CFScript 2.0 by Adam C.
Comment on CFScript 2.0 by Adam C.
Tracker Comment Comment on Arrow functions by Adam C.
Comment on Arrow functions by Adam C.
Tracker Comment Comment on Static methods by Adam C.
Comment on Static methods by Adam C.
Tracker Comment Comment on Static methods by Adam C.
Comment on Static methods by Adam C.
Tracker Comment Comment on CFScript 2.0 by Adam C.
Comment on CFScript 2.0 by Adam C.
Tracker Comment Comment on Remove restriction on nesting threads by Adam C.
Comment on Remove restriction on nesting threads by Adam C.
Tracker Comment Comment on Improve Java integration by Adam C.
Comment on Improve Java integration by Adam C.
Tracker Comment Comment on Log entries have CRLF stripped by Adam C.
Comment on Log entries have CRLF stripped by Adam C.
Tracker Comment Comment on Date.diff method doesn't work correctly by Adam C.
Comment on Date.diff method doesn't work correctly by Adam C.
Tracker Comment Comment on Cannot execute certain methods by Adam C.
Comment on Cannot execute certain methods by Adam C.
Tracker Comment Comment on [ANeff] ER for: THIS.requireSemicolons by Adam C.
Comment on [ANeff] ER for: THIS.requireSemicolons by Adam C.
Tracker Comment Comment on Anonymous function blocks by Adam C.
Comment on Anonymous function blocks by Adam C.
Tracker Comment Comment on Add callback to replacenocase function by Adam C.
Comment on Add callback to replacenocase function by Adam C.
Tracker Comment Comment on Add deepcopy param to duplicate() by Adam C.
Comment on Add deepcopy param to duplicate() by Adam C.
Tracker Comment Comment on Add deepcopy param to duplicate() by Adam C.
Comment on Add deepcopy param to duplicate() by Adam C.
Comment on Implement stored-proc equivalent of queryExecute() by Adam C.
Comment on cfargument doesn't validate an array of components properly by Adam C.
Comment on isNull throw errors when passed struct key inside array by Adam C.
Tracker Comment Comment on Add CASE construct to query of query by Adam C.
Comment on Add CASE construct to query of query by Adam C.
Tracker Comment Comment on Improve joining in query of query by Adam C.
Comment on Improve joining in query of query by Adam C.
Comment on Support "arrow functions" syntax for closures by Adam C.
Tracker Comment Comment on Operators not supported in evaluated expressions when inside #'s by Adam C.
Comment on Operators not supported in evaluated expressions when inside #'s by Adam C.
Comment on Be consistent with function statements inside closures by Adam C.
Comment on CF11 stopped accepting booleans as numeric args by Adam C.
Tracker Comment Comment on Chaining Elvis operators fails in ACF11 by Adam C.
Comment on Chaining Elvis operators fails in ACF11 by Adam C.
Comment on [ANeff] Bug for: implicit struct/array breaks by Adam C.
Tracker Comment Comment on Properties with default values not accessible outside init function by Adam C.
Comment on Properties with default values not accessible outside init function by Adam C.
Tracker Comment Comment on Range as a type and a literal by Adam C.
Comment on Range as a type and a literal by Adam C.
Tracker Comment Comment on Permit types to be "arrays of [things]" by Adam C.
Comment on Permit types to be "arrays of [things]" by Adam C.
Tracker Comment Comment on isnull with argument struct["key"] will cause a element is undefined error by Adam C.
Comment on isnull with argument struct["key"] will cause a element is undefined error by Adam C.
Comment on Chained function calls silently do the wrong thing by Adam C.
Comment on Add ability to treat strings like collections by Adam C.
Comment on Cannot have argument named "default" in script function by Adam C.
Comment on Whitespace management not available on J2ee installations by Adam C.
Comment on nested arrayEach parent execution context scoping issue by Adam C.
Tracker Comment Comment on CFFTP to S-FTP server raises error "Algorithm negotiation fail" by Adam C.
Comment on CFFTP to S-FTP server raises error "Algorithm negotiation fail" by Adam C.
Tracker Comment Comment on datasource attribute on <cfinsert> should no longer be required by Adam C.
Comment on datasource attribute on should no longer be required by Adam C.
Tracker Comment Comment on isnull with argument struct["key"] will cause a element is undefined error by Adam C.
Comment on isnull with argument struct["key"] will cause a element is undefined error by Adam C.
Comment on Member functions can't be chained to struct/array literals by Adam C.
Tracker Comment Comment on ColdFusion does not allow chaining of methods exposed in Java libraries by Adam C.
Comment on ColdFusion does not allow chaining of methods exposed in Java libraries by Adam C.
Tracker Comment Comment on [ANeff] ER for: Numeric member functions by Adam C.
Comment on [ANeff] ER for: Numeric member functions by Adam C.
Comment on [ANeff] Bug for: tag vs script wrt typed array arguments by Adam C.
Comment on URLs with /api/ Fails with 500.0 - Internal Server Error by Adam C.
Tracker Comment Comment on Implicit array within function call and other requirements produces java.lang.ClassCastException by Adam C.
Comment on Implicit array within function call and other requirements produces java.lang.ClassCastException by Adam C.
Tracker Comment Comment on invokeImplicitAccessor should be a CFC setting, not an Application.cfc setting by Adam C.
Comment on invokeImplicitAccessor should be a CFC setting, not an Application.cfc setting by Adam C.
Tracker Comment Comment on invokeImplicitAccessor should be a CFC setting, not an Application.cfc setting by Adam C.
Comment on invokeImplicitAccessor should be a CFC setting, not an Application.cfc setting by Adam C.
Tracker Comment Comment on datasource attribute on <cfinsert> should no longer be required by Adam C.
Comment on datasource attribute on should no longer be required by Adam C.
Tracker Comment Comment on datasource attribute on <cfinsert> should no longer be required by Adam C.
Comment on datasource attribute on should no longer be required by Adam C.
Tracker Comment Comment on [ANeff] Bug for: implicit struct|array overrides short-circuiting by Adam C.
Comment on [ANeff] Bug for: implicit struct|array overrides short-circuiting by Adam C.
Comment on Cannot evaluate a string containing a function expression by Adam C.
Comment on nested arrayEach parent execution context scoping issue by Adam C.
Tracker Comment Comment on CFContent tag working differently in CF 11 by Adam C.
Comment on CFContent tag working differently in CF 11 by Adam C.
Comment on Support "arrow functions" syntax for closures by Adam C.
Tracker Comment Comment on [ANeff] Bug for: isObject(image) and isObject(spreadsheet) and isObject(file) return YES by Adam C.
Comment on [ANeff] Bug for: isObject(image) and isObject(spreadsheet) and isObject(file) return YES by Adam C.
Comment on function expressions do not support annotations by Adam C.
Tracker Comment Comment on Properties defined in parent class should be inherited as variables of subclass by Adam C.
Comment on Properties defined in parent class should be inherited as variables of subclass by Adam C.
Tracker Comment Comment on Bug 83465:(Watson Migration Closure)I can click Stop on logs that are not stopable by Adam C.
Comment on Bug 83465:(Watson Migration Closure)I can click Stop on logs that are not stopable by Adam C.
Tracker Comment Comment on QueryFilter does not remove rows as expected when consecutive target rows exist by Adam C.
Comment on QueryFilter does not remove rows as expected when consecutive target rows exist by Adam C.
Tracker Comment Comment on QueryFilter does not remove rows as expected when consecutive target rows exist by Adam C.
Comment on QueryFilter does not remove rows as expected when consecutive target rows exist by Adam C.
Tracker Comment Comment on Expose CFML code parsing rules in a open source and consumable way by Adam C.
Comment on Expose CFML code parsing rules in a open source and consumable way by Adam C.
Tracker Comment Comment on sort member functions should accept compare and compareNoCase functions as comparator callbacks by Adam C.
Comment on sort member functions should accept compare and compareNoCase functions as comparator callbacks by Adam C.
Tracker Comment Comment on Add optional second arg to round() to specify a number of decimal places by Adam C.
Comment on Add optional second arg to round() to specify a number of decimal places by Adam C.
Tracker Comment Comment on Bug 82787:(Watson Migration Closure)Default cannot be used as an argument name in cfscript by Adam C.
Comment on Bug 82787:(Watson Migration Closure)Default cannot be used as an argument name in cfscript by Adam C.
Tracker Comment Comment on sort higher order functions should return the sorted object, not simply "YES" by Adam C.
Comment on sort higher order functions should return the sorted object, not simply "YES" by Adam C.
Comment on Bug 84833:(Watson Migration Closure)[ANeff] Bug for: Clearing local scope odd behavior (ignore #84831)Please disregard #84831 by Adam C.
Tracker Comment Comment on Quoted variable assignment errors when using keys that start with a number by Adam C.
Comment on Quoted variable assignment errors when using keys that start with a number by Adam C.
Tracker Comment Comment on Bug 83465:(Watson Migration Closure)I can click Stop on logs that are not stopable by Adam C.
Comment on Bug 83465:(Watson Migration Closure)I can click Stop on logs that are not stopable by Adam C.
Tracker Comment Comment on Create new core function: isInThread() to easily tell if you are within a cfthread or not by Adam C.
Comment on Create new core function: isInThread() to easily tell if you are within a cfthread or not by Adam C.
Tracker Comment Comment on ColdFusion masks correct exception when exception is thrown from within an iteration method using a function expression by Adam C.
Comment on ColdFusion masks correct exception when exception is thrown from within an iteration method using a function expression by Adam C.
Tracker Comment Comment on ColdFusion masks correct exception when exception is thrown from within an iteration method using a function expression by Adam C.
Comment on ColdFusion masks correct exception when exception is thrown from within an iteration method using a function expression by Adam C.
Tracker Comment Comment on writeLog(), throw(), writeDump() not implemented as fucntions correctly by Milan C.
2609737 CF-3788414 Milan C. @Adam, you might be right, not arguing on that, but changing these functions behavior now adds a high risk of breaking backward compatibility.
2609471 CF-3844976 External U. There is another ticket for this already raised by Adam C that was closed without explanation, so I'm entering a new one.
2600497 CF-3038965 External U. +1 I don't agree that it should have been scuttled. As Adam C said, waiting for another product release is a very long time to wait for performance improvements. A fast value object (with an IBO) is a very doable performance improvement over traditional getters
Tracker Comment Comment on Stop Encrypting the Administrator Code by External U.
2609632 CF-3818547 External U. +1 Seems like a reasonable request. I won't impugn your integrity or your skills or your goals.
If you ignore the tone of the comments here and just evaluate it with respect to the merits, seems like you should reverse your decision. Adam C makes a great point
2556973 CF-3825042 Piyush K. Adam T,
I'm re-orienting this bug's area from document/spreadsheet to "debugging" for reasons noted in my previous comment.
In case you are experiencing an issue with a spreadsheet related tag, please revert with the relevant code extract.
Adam C,
we can raise a
Tracker Issue Threads add weird methods into CFCs
2596837 CF-3589407 Language Adam Cameron Threads add weird methods into CFCs Run this:
// C.cfc
component {
public void function f(){
var t1 = false;
thread name="t1" action="run" {
// nowt
}
}
}
// test.cfm
o = new C();
md = getMetadata(o);
write
values. They need to also support objects.See discussion here:https://prerelease.adobe.com/project/forum/thread.html?cap=87529bda13744b3db718e841890b9240&forid={936680a8-3cd1-4d52-bcee-9ef903d7fb02}&topid={f756405c-5439-4062-b84e-6aecbd66562c} Cheers.-- Adam
Method:
Result
Tracker Comment Comment on Deprecate CFLOOP/array and try again by External U.
2613410 CF-3321646 External U. This ticket shouldn't have been closed until was marked deprecated, b/c (again, and like Adam said) that was part of this ticket. It shouldn't require a new ticket. So this ticket should be re-opened.
Thanks!,
-Aaron
Tracker Issue ?.: safe navigation operator
2611536 CF-3614459 Language Adam Cameron ?.: safe navigation operator See http://cfmlblog.adamcameron.me/2013/08/thinking-about-operators-in-cfml.html
This is best demonstrated with an example:
a = { b ={ c = { d = 1 } } }; writeOutput(a?.b?.c?.d); // 1 writeOutput(a?.e?.c?.d); // null writeOutput(a.e.c
Tracker Issue Error message malformed when scheduler handler has error
.
Error: Eventhandler C:pathtoscheduledtaskhandler.cfc does not implement required interface
[/quote]
Note the path has all its slashes omitted. It should be C:\path\to\scheduled\task\handler.cfc
--
Adam
----------------------------- Additional Watson Details -----------------------------
Watson Bug
Tracker Comment Comment on isValid("email") is poorly implemented, in that it rejects a bunch of stuff that's legit by External U.
2613554 CF-3231157 External U. Related thread: https://prerelease.adobe.com/r/?8c1ce8de4fef49eabe15ca93b69a6b9e
Copying over the description from 83327:
-----------
isValid email fails on twitter, IDN domainsA twitter email with the format of :"twitter
2610296 CF-3712186 External U. Hi Rupesh,
If you read Adwesh's comment, you will see why Adam was asking him why he added .toString(). B/c Adwesh said: "Added following functions [....] ToString".
Thanks!,
-Aaron
Tracker Issue struct.filter() missing
2610329 CF-3710336 Language Adam Cameron struct.filter() missing It looks like all struct functions have had their methods implemented except for structFilter().
Repro:
// structFilter.cfm
base = {a="b", c="d", e="f"};
filtered = structFilter(base, function(k,v){
return k == "a" || v =="f
Tracker Issue Glitch in parsing of code using shorthand operator
2608683 CF-4023966 Language Adam Cameron Glitch in parsing of code using shorthand operator Full analysis: http://blog.adamcameron.me/2015/07/coldfusion-cfml-weird-shorthand.html
TL;DR:
Repro:
a = 17;
b = 19;
c = 23;
a += (b += c);
writeDump(variables);
Actual:
Invalid CFML construct found
Watson Details -----------------------------
Watson Bug ID: 3039217
External Customer Info:
External Company:
External Customer Name: Adam Cameron
External Customer Email: 17EB1A7649DA54C7992015A9
External Test Config: 07/10/2009
Tracker Issue Chaining Elvis operators fails in ACF11
courtesy of @adam_cameron and @ryanguill - uncomment a, b, or c, but the snippet as-is will produce the buggy result)
//a = "eh?";
//b = "be!";
//c = "see?";
//foo = (a ?: b) ?: c;
foo = a ?: (b ?: (c ?: "failsafe"));
writeDump(foo);
Actual Result: Variable FOO is UNDEFINED
Expected Result
Tracker Comment Comment on Bug 87092:CF's parseDateTime does not understand float values generated by interaction with timespans (e by External U.
2597294 CF-3044017 External U. -1: not a bug. parseDateTime() is documented as only working on specifically formatted strings: "Parses a date/time string according to the English (U.S.) locale conventions. "
http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24
Tracker Comment Comment on Fix the isValid('integer') function or Provide a Version that actually does work by External U.
2610311 CF-3712010 External U. Case in point:
Output:
The value $10,000,000 cannot be converted to a number.
The error occurred in D:/HostingSpaces/russ@michaels.me.uk/code.cflive.net/wwwroot/coldfusion/1B80FBAC-98C5-4344-BB7C8A88D994B36C.cfm: line 3
1 :
2 :
3 :
4 :
*do you
Tracker Issue CF ignores code
2610090 CF-3731421 Language,Language : Query Functions Adam Cameron CF ignores code {code:java}
qry=queryNew("a,b,c");
queryAddRow(qry);
qry.d=1; // this line is simply ignored
writedump(qry);
{code}
This impacts all versions of CF from at least 9.0.1
ColdFusion must not simply ignore code
Tracker Comment Comment on cfloop looping over a file can't handle unicode encoded files by External U.
2610810 CF-3678093 External U. I have updated the docs (https://learn.adobe.com/wiki/display/coldfusionen/cfloop%3A+looping+over+a+list%2C+a+file%2C+or+an+array)
I can't help but think you probably could have done this, Rupesh, instead of simply saying it ought to be done.
--
Adam
Tracker Issue initmethod is not inherited
2608879 CF-3972123 Language Adam Cameron initmethod is not inherited SSIA, really. See my blog article:
http://blog.adamcameron.me/2015/04/cfml-initmethod-and-cfc-inheritance.html
Summary:
Code:
{code}
// P.cfc
component initmethod=constructor {
function constructor(){
write
:http://java.sun.com/docs/books/jls/second_edition/html/statements.doc.html#6842This should be for break and both.-- Adam
Method:
Result:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3043972
External Customer Info:
External Company:
External Customer Name: Adam Cameron
External Customer Email: 17EB1A7649DA54C
Name: Adam Cameron
External Customer Email: 17EB1A7649DA54C7992015A9
External Test Config: 06/22/2010
: Adam Cameron
External Customer Email: 17EB1A7649DA54C7992015A9
External Test Config: 02/18/2010
without these.-- Adam
Method:
Result:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3039382
External Customer Info:
External Company:
External Customer Name: Adam Cameron
External Customer Email: 17EB1A7649DA54C7992015A9
External Test Config
the whole lot..Cheers.-- Adam
Method:
Result:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3039287
External Customer Info:
External Company:
External Customer Name: Adam Cameron
External Customer Email: 17EB1A7649DA54C7992015A9
External Test
.
--
Adam
Method:
Result:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3039218
External Customer Info:
External Company:
External Customer Name: Adam Cameron
External Customer Email: 17EB1A7649DA54C7992015A9
External Test Config: 07/10/2009