search : bif

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

displaying top 100 results

[ANeff] Bug for: BIF vs array notation wrt immutable
[ANeff] Bug for: BIF coloring option disabled by default
Comment on [ANeff] Bug for: BIF vs array notation wrt immutable by External U.
Comment on [ANeff] Bug for: BIF coloring option disabled by default by Aaron N.
Comment on [ANeff] Bug for: BIF coloring option disabled by default by Aaron N.
Comment on [ANeff] Bug for: BIF vs array notation wrt immutable by CFwatson U.
Comment on [ANeff] Bug for: BIF vs array notation wrt immutable by CFwatson U.
Comment on Inconsistent XSS markings for built-in-functions (BIF) that return integers by External U.
Comment on Serious bug in #ColdFusion 11 BIFs-as-first-class-functions by Awdhesh K.
Comment on [ANeff] Bug for: writeDump(BIF) (and cfdump) exception or misleading when NULL enabled by Aaron N.
Comment on BIFs should be usable as arguments expecting functions by External U.
2609671 CF-3810965 External U. +1 - consistency in the closure BIFs and member functions please
4727075 CF-4203286 Kama S. Another issue is that many of the BIFs listed do not exist with those names.
Comment on BIFs should be usable as arguments expecting functions by External U.
Comment on Inconsistent XSS markings for built-in-functions (BIF) that return integers by External U.
Comment on Inconsistent XSS markings for built-in-functions (BIF) that return integers by S P.
2609896 CF-3749296 Rupesh K. The issue seems to be in calling method on the BIF reference. So this breaks. mid.getClass().getName(); however, the function can be passed around without any issue. I don't see many use cases of calling methods on the BIF reference and therefore it looks to be a very
2609896 CF-3749296 Awdhesh K. There is hardly any good usecase of calling a functionon a BIF (mid in here). I can't think any function other than getClass() being called on BIF. The effort does not look worthy fixing it.
Comment on Serious bug in #ColdFusion 11 BIFs-as-first-class-functions by Rupesh K.
3048633 CF-4198573 Aaron N. Hi all, And -any- BIF, not just -certain- BIFs, right? Adobe closed https://tracker.adobe.com/#/view/CF-4202219 w/ "these functions due to internal compiler optimizations and transformations can't be made first class". Thanks!, -Aaron
5748713 CF-4204402 Language : Functions [ANeff] Bug for: Four CFPageMethods throw coldfusion.compiler.CFMLParserBase$UnsupportedComplexException Issue: Four CFPageMethods throw coldfusion.compiler.CFMLParserBase$UnsupportedComplexException Repro: {code:java} bifs = "parameter
Inconsistent XSS markings for built-in-functions (BIF) that return integers
[ANeff] Bug for: writeDump(BIF) (and cfdump) exception or misleading when NULL enabled
James Mohler I thought that ArrayNew[dataType](params) is just a strange way of doing things. I can't think of any other BIF that has this syntax
Serious bug in #ColdFusion 11 BIFs-as-first-class-functions
2673556 CF-4126413 S P. Few other scenarios for built-in-functions (BIF) that return integers: #ceiling(url.id)# #floor(url.id)# #round(url.id)#
2608732 CF-4014660 Aaron N. Verified this is fixed in CF2016 Update 1 (build 2016.0.01.298513). Also: Issue didn't affect the member function; only the BIF. Odd. Thanks!, -Aaron
to create my own "isFoo()" function too. If CF ever allows us to extend the language w/ our own true BIFs, hopefully our isFoo() would trump CF's isFoo(). If CF is insistent on trumping our BIFs w/ its own BIFs, then the "CF" prefixing may come in handy there. But surely CF would allow our BIFs to trump
2609288 CF-3861951 Aaron N. Verified this is fixed in CF2016 Update 1 (build 2016.0.01.298513). Hopefully CF-3924625 can be implemented in Aether, b/c we need a BIF that canonicalizes URLs correctly. Thanks!, -Aaron
2609671 CF-3810965 External U. You say you've mixed the arrayFilter() BIF... have you also fixed Array filter() method?
2610304 CF-3712125 External U. This is a great idea. Many BIFs return rather arbitrary results (boolean? on operations that are really unlikely to fail??) so returning "this" object would make much more sense for member functions.
2610696 CF-3685532 External U. Alternately, give us a getMemento() BIF that returns a struct containing only the variables (not the component's methods) or some other way to do that.
2611669 CF-3602420 External U. Yes, this is very much needed. Please see Railo extensions for more details. They are moving to an OSGI model too. Let us add BIFs, tags, cache drivers, etc to ColdFusion as well.
Comment on [ANeff] Bug for: some BIFs are not 1st class by Aaron N.
3575002 CF-4199973 Aaron N. Hi Adobe, Please ignore the above. Regarding .isEmpty() XML member function, I agree it's unnecessary. New questions/comments: 1) Are you adding the following BIFs?: XmlHasChild, XmlCount, XmlAppend, XmlUpdate, XmlKeyList and XmlKeyArray? 2) The .delete() XML member
Comment on Serious bug in #ColdFusion 11 BIFs-as-first-class-functions by Suchika S.
3048633 CF-4198573 Kama S. I think this should be generalized that any function that takes a callback should be able to accept a BIF, not just UDF.
[ANeff] Bug for: some BIFs are not 1st class
2609881 CF-3753710 External U. A workaround is to call .replaceFirst() instead of .replace() to avoid the new member function but that doesn't have the same behavior so it may not work for everyone. The real fix here is to change the replace() BIF - and string.memberFunction - to accept an empty
Comment on Serious bug in #ColdFusion 11 BIFs-as-first-class-functions by Rupesh K.
4251078 CF-4202139 Aaron N. Hi Adobe, Adding more comments from https://coldfusion.adobe.com/?p=2873: ----------- James Mohler: I thought that ArrayNew[dataType](params) is just a strange way of doing things. I can’t think of any other BIF that has this syntax ----------- ----------- Kama Sama I
[ANeff] Bug for: if bif(simpleValue) works then simpleValue.memberFunction() member functions must also work
Comment on BIFs should be usable as arguments expecting functions by External U.
2672799 CF-4167883 External U. Isn't query.getResult() obly available if you use query.cfc? Thus, it isn't a member function (it's a component method) and there is no need for a queryGetResult() BIF. You should switch to using queryExecute() instead of query.cfc as it has more complete
Comment on Inconsistent XSS markings for built-in-functions (BIF) that return integers by S P.
Comment on Inconsistent XSS markings for built-in-functions (BIF) that return integers by S P.
2612086 CF-3559652 External U. +1 this would make my day-to-day work easier. I think it would also help new developers coming over from other OO languages find ColdFusion a bit easier to understand, as they will likely expect BIFs to be OO.
3554667 CF-4199857 Aaron N. Hi Adobe, I forgot to mention, but it goes w/o saying, ArgumentCollection should also work w/ BIFs as a result of this fix. That's definitely expected behavior. Thanks!, -Aaron
Comment on Serious bug in #ColdFusion 11 BIFs-as-first-class-functions by Aaron N.
4727075 CF-4203286 Aaron N. Hi Kama, Completely agree. All member functions should have a BIF counterpart. Including the DateTime "setter methods". Either CF maintains its predictability, or it doesn't. Thanks!, -Aaron
Comment on [ANeff] Bug for: some BIFs are not 1st class by Aaron N.
4468474 CF-4202905 Aaron N. Hi Adobe, This issue is not limited to ArrayFindNoCase. Could you please update this to cover ArrayFindNoCase/ArrayFindAllNoCase/ArrayContainsNoCase/ArrayDeleteNoCase (both the BIF and member function for each)? They all should treat a date search the same. Thanks
2609133 CF-3924625 Aaron N. Hi Adobe, Can this please be added in CF2020? Please see my earlier comment. I believe you've already wrote the functionality, but not yet exposed as a BIF. Thanks!, -Aaron
the BIF to work, but the member function to not work, you're creating inconsistency and confusion in the language. 2) member function equivalent of `structIsEmpty(myXMLVar.myXML.xmlAttributes)` wasn't added. Issue: The member function equivalent must also work. By allowing the BIF to work, but the member
ashudeeps55469743 Member Functions introduced in ColdFusion (2018 release) In the 2018 release of ColdFusion, we have introduced new Built-In Functions(BIF) to manipulate different objects using a single line invocation. Query Functions QueryDeleteRow( Object query, int rowNum ) Query
Comment on Serious bug in #ColdFusion 11 BIFs-as-first-class-functions by External U.
4694975 CFB-4198409 Editor Features : Code Colorization [ANeff] ER for: syntax coloring of member functions Issue: CFB's Syntax Coloring supports BIFs but not member functions. Actual Result: CFB's Syntax Coloring section has "CFScript > Function" but not "CFScript > Member Function" Expected
6254726 CF-4205248 Language : Closures Parsing error with fat arrow UDF with default argument value Problem Description: Passing a fat arrow function to a BIF with a default value on one of the parameters causing a parsing error. Steps to Reproduce: {code:java} myArr = [3,3,3] writeDump( my
, which is a loosely typed language and allows me to do "stringy" things with variables that can be coerced to a string. This has always been the case with BIFs.
, which is a loosely typed language and allows me to do "stringy" things with variables that can be coerced to a string. This has always been the case with BIFs.
taking advantage of member functions and refactoring code to replace usage of procedural BIFs, the expectation will be that keyExists will work on exception objects.
2609881 CF-3753710 External U. .replace() is the only conflict I see where the behavior of the equivalent BIF - replace() - has a weird behavior that would have driven people to use the Java method in the first place (namely disallowing an empty second argument). s.trim() - Java - matches trim(s
the empty second argument in the BIF replace() - and therefore the string member function - would make their migration to CF11 much easier.
4181439 CF-4201890 Vijay M. Member function route are different from BIFs .Member functions are type aware. With type preservation feature on the board in aether, the data type of variable will be preserved from compilation phase to the runtime. This will provide us performance incentive as we can
2598320 CF-3041466 Bradley W. Can this be re-evaluated. Lucee Server handles cfcatch objects correctly and they actually inherit from StructImple so isStruct() returns true and all struct BIFs and member functions work on them.
Comment on [ANeff] Bug for: some BIFs are not 1st class by Vijay M.
Comment on [ANeff] Bug for: some BIFs are not 1st class by Aaron N.
BIFs should be usable as arguments expecting functions
decision based on that code the developer writes and the back-end Java classes used to store the value is an (unimportant) implementation detail. Member functions are IMO syntactic sugar for BIFs, not proper methods on proper objects of any explicit type. If you treat a variable as a date with a date
2609222 CF-3909707 External U. Hi Adam, Looking at the "CF" prefix from another angle, it looks like there'd possibly have been some naming conflicts if the "CF" prefix hadn't been used: BIF vs tag-to-script ---------------------------------- fileupload() vs fileupload() insert() vs insert
in user-defined functions and in component constructors.  We are introducing named parameters for built-in functions with ColdFusion 2018. Before ColdFusion (2018 release), the order of parameters in a BIFs was necessarily fixed, since it was the only way that CF could identify which value is […] The post
Aaron Neff Hi Ashudeep, Very nice post! Couple comments: 1) format() is, thankfully, just a member function (not BIF) 2) precisionEvaluate() is also a numeric member function (useful for converting to java.math.BigDecimal) Ex: myVar1 = 10; myVar2 = myVar1.precision
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
4181437 CF-4201889 Language : Member Functions [ANeff] ER for: simpleValue.numberFormat() Note: The language should be predictable. If someDataTypeBIF(myVariable) works, then myVariable.someDataTypeBIF() should also work. This ER is for simpleValue.numberFormat(), for simple values that can
URL() BIF. History on this issue: CF10 temporarily removed the default cfform action to resolve an XSS issue. It's removal, however, caused URL parameters to vanish when passed into a CF AJAX container, after submitting a form w/in the container (see CF-3080158). In CF-3080158, you improperly fixed
4317224 CF-4202394 Language : Member Functions [ANeff] Bug for: member function shameful workarounds Issue: member function shameful workarounds It's a shame that member functions and UDF arguments have such disconnect. Before CF added member functions, UDF libraries used BIFs: //UDFLibrary
Number.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
to (automatically behind the scenes). Therefore, any BIFs that can operate on a simple value (stringy) should work as a member function. CFML doesn't even provide a first-class method to test a simple value to see what actual java class is being used behind the scenes (and it shouldn't-- that
ToSort.sort(compareNoCase); It doesn't do anything (not even error). This should also work: listToSort = "d,C,b,A"; sortedList = listToSort.listSort(compareNoCase); This one just errors: You have specified invalid sorting inputs. It could be a UDF functions or type. That's not correct. A BIF should also work. More details & test
Tracker Issue Support YAML natively
4556635 CF-4203067 Language Support YAML natively YAML seems to be everywhere these days but there's no built in functions to serialize/deserialize it like we have for XML or JSON. I would recommend the BIFs: YAMLSerialize() YAMLDeserialize() However, I am annoyed at the fact that the current
) { var result = e.message; } writeOutput(arrayFunction & '(): ' & serializeJSON(result, false, false) & ''); } } writeOutput("BIFs w/ complex needle"); displayBIFResult([["MyString"]], ["MyString"]); writeOutput(""); displayBIFResult([["MyString"]], ["MYSTRING"]); write
be cast to (automatically behind the scenes). Therefore, any BIFs that can operate on a simple value (stringy) should work as a member function. CFML doesn't even provide a first-class method to test a simple value to see what actual java class is being used behind the scenes (and it shouldn't-- that
4181439 CF-4201890 Language : Member Functions [ANeff] ER for: simpleValue.date|time|dateTimeFormat() Note: The language should be predictable. If someDataTypeBIF(myVariable) works, then myVariable.someDataTypeBIF() should also work. This ER is for simple
0b1693672e605ad1ea7d7807aa) CF10 Core Support ends on 5/16/2017. Will Adobe add this CF2016 BIF update to CF10 before core support ends? (My recommendation is to avoid using Adobe's blackbox built-in functions (BIFs) until they post unit tests demonstrating that they've been fully tested.) Cold
(just uncomment each and run, to compare behavior between each BIF and member function pair): function myFunction(){writeDump(ARGUMENTS); abort;}//abort triggers exception w/in all member functions but works fine in all built-in functions /*myList = "b||a||c"; listEach(myList, my