Prior to ColdFusion 2018, ColdFusion supported the following XML member functions: .elemNew() (equivalent of XmlElemNew) .childPos() (equivalent of XmlChildPos) .duplicate() (equivalent of Duplicate) .getNodeType() (equivalent of XmlGetNodeType) .search() (equivalent of XmlSearch) .transform() (equivalent of XmlTransform) Since ColdFusion also supports using array and structure functions to manage XML document objects, I filed CF-4199973 to add the relevant string, struct and array member functions on XML variables. ColdFusion 2018 added the following XML member functions: * .append() (equivalent of StructAppend) ** .clear() […]
Hi Adobe, Can you please resolve https://tracker.adobe.com/#/view/TKR-198? Unsent emails need sent. Thanks!, -Aaron
Hi all, Aether has 3 typed-array creation syntaxes: 1) ArrayNew(dataType=____) 2) [dataType][] 3) ArrayNew[dataType](params) Long-time community ask is for method invocation syntax object[method](params). See its conflict w/ #3? Lucee isn’t implementing #3 b/c it conflicts w/ their object[method](params) support. Proposal: A) Remove #3 or B ) replace it w/ ArrayNew(dimension[, dataType]) Possible conflicts: 1) ArrayNew(dimension[, dataType]) conflicts w/ ArrayNew(dimension[, isSynchronized]) if dataType is a CFC named true.cfc or no.cfc, for example 2) object[method](params) conflicts w/ ArrayNew[dataType](params) if object is a […]
Type checking cannot be trusted. Repro: <cfscript> function f1(numeric myNumeric) { return min(myNumeric, 1); } function f2(numeric myNumeric) { return myNumeric.min(1); } </cfscript> <cfscript> function f3(date myDate) { return dateAadd(“d”, 1, myDate); } function f4(date myDate) { return myDate.add(“d”, 1); } </cfscript> I can break someone’s f2 by passing a date to the numeric argument. I can break someone’s f4 by passing a numeric to the date argument. Look at f1 vs f2 and f3 vs f4. See the only […]
Hi Adobe, We need a way to subscribe to the Known Issues tickets. That’s currently complicated due to the Known Issues doc not listing ticket numbers. Question: If some of those are internal tickets, then can they please be copied to Tracker? And the doc updated to list a ticket# for each? A list of “Thing X does Y instead of Z” isn’t so useful when we want: 1) To know what is the repro case 2) To vote on […]
Hi Adobe, Could someone please explain the “Resources” icon at top-right of CF Admin? Clicking it returns us to CF Admin’s home screen, which raises questions: 1) Why does the tooltip say “Resources” instead of “Home”? 2) Why does the icon look nothing like a typical “Home” icon? 3) Why is it placed obscurely at the top-right between the Search & Info icons? I think that icon can be removed, since clicking the CF logo & “Adobe ColdFusion 2018 Administrator” […]
Hi Adobe, Could we please have a discussion about what the literal syntax would look like for sorted struct before its implemented? Related ticket: https://tracker.adobe.com/#/view/CF-4152476 Thanks!, -Aaron
Hi Adobe, Why is interface fulfillment check done at runtime instead of compile time? Thanks!, -Aaron
Hi Adobe, The “Data Source Management for ColdFusion” doc, under “Supplied Drivers” has always listed “Microsoft Access”, but Adobe says 1) the 32-bit ODBC driver always ships with Windows itself and 2) CF doesn’t install an ODBC driver and 3) the 64-bit ODBC driver install must be done separately? Question: Could you please explain what “Supplied Drivers” means, especially as it pertains to ODBC being listed but requiring manual install? Thanks!,-Aaron
Hi Adobe, This CF Community Portal has usability issues: I cannot tell if I’ve already viewed a thread. I cannot tell if a thread has had activity since the last time I viewed it. I cannot subscribe to email notifications. I cannot search for threads (the search tool at top only returns 7 results, instead of all results) I cannot paginate thru the Q&A results to a specific ‘page’. I have to keep clicking a “load more” button that just […]
Hi CF Community, I’d like to get your opinions. Would you prefer CF’s member functions to be type-specific or type-casting? Currently they are type-specific. These work: myString.dateTimeMemberFunction() myString.numericMemberFunction() myNumber.stringMemberFunction() myXMLAttribute.structMemberFunction() myXMLNode.arrayMemberFunction() These fail: myDateTime.stringMemberFunction() myDateTime.numericMemberFunction() myNumber.dateTimeMemberFunction() If they were Type-Casting, then “stringy” member functions would work on any simple variable just as their BIF counterparts do. Related ticket: https://tracker.adobe.com/#/view/CF-4187503 Please add your comments here and/or on that ticket. Please vote your opinion. Thanks!, -Aaron
Hi CF Community, I’d like to get your opinions. Would you prefer final variables to be immutable or not? Currently, a “final” variable just means you cannot make the reference point to something else. However, who would find it more useful if “final” meant the data structure pointed by it will not be mutable? Example: `final myVar = {foo=”bar”}; myVar.foo = “baz”` Who would prefer that to not throw an exception (current behavior) or to throw an exception? Thanks!, -Aaron