search : adam c

select a category, or use search below
(searches all categories and all time range)

displaying top 100 results

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.
Comment on Support "arrow functions" syntax for closures by Adam C.
Comment on Properties defined in parent class should be inherited as variables of subclass by Adam C.
Comment on Bug 83465:(Watson Migration Closure)I can click Stop on logs that are not stopable 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.
Comment on Chaining Elvis operators fails in ACF11 by Adam C.
Comment on Properties with default values not accessible outside init function 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 Date.diff method doesn't work correctly by Adam C.
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.
Comment on Expose CFML code parsing rules in a open source and consumable way by Adam C.
Comment on sort member functions should accept compare and compareNoCase functions as comparator callbacks 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.
Comment on CFFTP to S-FTP server raises error "Algorithm negotiation fail" by Adam C.
Comment on isnull with argument struct["key"] will cause a element is undefined error by Adam C.
Comment on Add optional second arg to round() to specify a number of decimal places by Adam C.
Comment on Bug 82787:(Watson Migration Closure)Default cannot be used as an argument name in cfscript by Adam C.
Comment on ColdFusion does not allow chaining of methods exposed in Java libraries 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.
Comment on Implicit array within function call and other requirements produces java.lang.ClassCastException by Adam C.
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.
Comment on [ANeff] Bug for: implicit struct|array overrides short-circuiting by Adam C.
Comment on nested arrayEach parent execution context scoping issue 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.
Comment on Support "arrow functions" syntax for closures by Adam C.
Comment on Implement stored-proc equivalent of queryExecute() by Adam C.
Comment on Quoted variable assignment errors when using keys that start with a number 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.
Comment on Create new core function: isInThread() to easily tell if you are within a cfthread or not 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.
Comment on Bug 83465:(Watson Migration Closure)I can click Stop on logs that are not stopable 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.
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.
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.
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
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
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
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
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
. 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
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
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
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
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
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
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
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
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 CF ignores code
2610090 CF-3731421 Language 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 it doesn't like. It either
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
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
2608417 CF-4099971 External U. Hi Adam, I don't think they're simply proxying for the SimpleDateFormat doc b/c masks "u" and "X" aren't supported which may be implied if they'd update the link to point to that URL. Thanks!, -Aaron
2612745 CF-3434441 Language Adam Cameron Promote built-in functions to be first-class Ref: http://en.wikipedia.org/wiki/First-class_function Use case: https://groups.google.com/forum/?fromgroups=#!topic/railo/EJVknC8_6Rk Discussion: http://adamcameroncoldfusion.blogspot.co.uk/2012/12/callbacks
2609783 CF-3774074 External U. Adam, see the attachment in the bug I posted for a repro case, but from what I can tell: It breaks if component A extends component B, and component B extends component C. If a function is defined on components B and C (but not explicitly defined on A