displaying top 100 results
4300133 CF-4202341 Aaron N. Oh, I forgot to mention: Special credit to Sean Corfield.
Thanks!,
-Aaron
2673369 CF-4126687 CFwatson U. Added By: PreRelease User User Name:Sean Corfield Note Added: Confirmed fixed in 9/15 Alpha - thank you! Date Added :2015-09-15 21:16:30.0
Added By: PreRelease User User Name:Sean Corfield Note Added: Entered Bug. Date Added :2015-07-20 16:38:31.0
Tracker Comment Comment on CLI.getArgs() should return CFML array by CFwatson U.
2673370 CF-4126686 CFwatson U. Added By: PreRelease User User Name:Sean Corfield Note Added: Confirmed fixed in 9/15 Alpha - thank you! Date Added :2015-09-15 21:16:14.0
Added By: PreRelease User User Name:Sean Corfield Note Added: Entered Bug. Date Added :2015-07-20 16:55:25.0
Tracker Issue Immutable query attribute has negative semantics
2673356 CF-4126702 Language Sean Corfield Immutable query attribute has negative semantics Related Bugs:
CF-4052040 - Similar to
Problem Description: immutable query has "negative" attribute name/value
Steps to Reproduce: cfquery mutable="false"
Actual Result: To use a new feature you have
2673359 CF-4126699 Documentation Sean Corfield CLI documentation does not mention Application.cfc onError() Problem Description:
Documentation says "only onApplicationStart() and onApplicationStop() methods are supported"
This is not true: onError(exception,event) is also supported
Tracker Issue CLI.writeError() should include newline
2673369 CF-4126687 CLI Sean Corfield CLI.writeError() should include newline Problem Description:
CLI.writeError() does not add a newline to standard error output
Steps to Reproduce:
Call CLI.writeError() multiple times with any strings.
Actual Result:
The output appears all on one line
Tracker Issue CLI.getNamedArgs() should return CFML struct
2673371 CF-4126684 CLI Sean Corfield CLI.getNamedArgs() should return CFML struct Problem Description:
CLI.getNamedArgs() returns a native Java array -- String[] -- when it would make more sense to return a CFML struct.
Steps to Reproduce:
Call CLI.getNamedArgs()
Actual Result:
Native Java
Tracker Issue Need CLI.getUnnamedArgs() for "other" args
2673372 CF-4126683 CLI Sean Corfield Need CLI.getUnnamedArgs() for "other" args Problem Description:
Currently CLI.getArgs() returns ALL arguments and CLI.getNamedArgs() returns just "named" arguments -- which means you need to parse "all arguments" to filter out any named ones so you get just
2673407 CF-4126635 CLI Sean Corfield CLI: cf.sh does not pass command line arguments to CLI bridge Problem Description:
The cf.sh script only passes $1 to the CLI bridge therefore cli.getArgs() is always empty
Steps to Reproduce:
args.cfm:
$ cf.sh args.cfm 1 2 3 4
Actual Result:
Shows
Tracker Comment Comment on CLI documentation does not mention Application.cfc onError() by CFwatson U.
2673359 CF-4126699 CFwatson U. Added By: PreRelease User User Name:Sean Corfield Note Added: Entered Bug. Date Added :2015-07-18 03:08:36.0
Tracker Issue Bug 75862:com
2601589 CF-3037800 Documentation : General Sean Corfield Bug 75862:com Problem:
com.adobe.coldfusion.system is not documented.
The only reference to it is in some code examples showing system.dump(...) but the CFC itself is not documented and the docs contain no references to any of the other
2673371 CF-4126684 CFwatson U. Added By: PreRelease User User Name:Sean Corfield Note Added: Confirmed fixed in 9/15 Alpha -- now returns a struct. Thank you! Date Added :2015-09-15 21:15:58.0
Added By: PreRelease User User Name:Sean Corfield Note Added: Entered Bug. Date Added :2015-07-20 16:57:33.0
Tracker Comment Comment on Error message for non-string arguments to CLI.write() / CLI.writeln() are misleading by CFwatson U.
2673373 CF-4126682 CFwatson U. Added By: PreRelease User User Name:Sean Corfield Note Added: Confirmed fixed in 9/15 Alpha -- it now throws an exception (cannot convert complex value to string) which is acceptable. Date Added :2015-09-15 21:15:17.0
Added By: PreRelease User User Name:Sean Corfield
Tracker Comment Comment on CLI: cf.sh does not pass command line arguments to CLI bridge by CFwatson U.
2673407 CF-4126635 CFwatson U. Added By: PreRelease User User Name:Sean Corfield Note Added: I look forward to verifying this in the mid-October code drop! Date Added :2015-09-29 17:45:24.0
Added By: PreRelease User User Name:Sean Corfield Note Added: Entered Bug. Date Added :2015-09-15 21:45:38.0
Tracker Issue CLI does not support per-application mappings
2673358 CF-4126700 CLI Sean Corfield CLI does not support per-application mappings Problem Description:
Any per-application mappings declared in Application.cfc are ignored in CLI scripts.
Steps to Reproduce:
Create an Application.cfc with a per-application mapping, e.g.,
this
Tracker Issue CLI.getArgs() should return CFML array
2673370 CF-4126686 CLI Sean Corfield CLI.getArgs() should return CFML array Problem Description:
CLI.getArgs() returns a native Java array of strings -- String[] -- which means "normal" CFML array manipulation doesn't work on it.
Steps to Reproduce:
Call CLI.getArgs() and try to use for ( elem
2673373 CF-4126682 CLI Sean Corfield Error message for non-string arguments to CLI.write() / CLI.writeln() are misleading Problem Description:
If you call CLI.write() or CLI.writeln() with non-string arguments, you get the error message that the method is not found. It should instead say you can
Tracker Issue Version delimiter breaks all version checking code
2673377 CF-4126677 Core Runtime Sean Corfield Version delimiter breaks all version checking code Duplicate ID: CF-4022322
Problem Description:
The change from comma-separated to dot-separated version number breaks all version checking code out there in the wild, and will cause havoc for users
2602175 CF-3037147 Language : CFSCRIPT Sean Corfield Bug 74759:Math operations in constant expressions are incorrect Problem:
Math operations in constant expressions are incorrect.
From the forums:
On Dec 26, 2008, at 11:51 AM, Sean Corfield - CF_9_Bugs Discussion
wrote:
> Can someone else
2673393 CF-4126651 CFwatson U. Added By:rukumar Note Added: This would be taken up for the next version Date Added :2015-10-27 06:51:46.0
Added By: PreRelease User User Name:Sean Corfield Note Added: Verified still open. Date Added :2015-09-15 21:11:43.0
Added By: PreRelease User User Name
2598504 CF-3041262 Language : CFSCRIPT Sean Corfield Bug 82578:var declaration should be allowed in all forms of for loop Problem:
var declaration should be allowed in all forms of for loop.for ( var i = 1; i 2 : s = { a = 1, b = 2 };3 : for (var k in s ) writeoutput( k
2601921 CF-3037432 Language : CustomTag Sean Corfield Bug 75293:(Watson Migration Closure) does not work with prefix="_" Problem:
does not work with prefix="_"
Method:
test.cfm executed
This *should* output test.cfm executed twice but it outputs: test.cfm executed
FWIW, on Railo
2602045 CF-3037293 Language : Functions Sean Corfield Bug 75036:(Watson Migration Closure)Extend queryNew() to have an optional *third* parameter that is an array of arrays that represent the rows Problem:
Extend queryNew() to have an optional *third* parameter that is an array of arrays
2602311 CF-3036996 Language : CFSCRIPT Sean Corfield Bug 74105:(Watson Migration Closure)Please make semicolon optional in CFSCRIPT Problem:
Please make semicolon optional in CFSCRIPT.
Semicolon is optional in Javascript. Semicolon is optional in ActionScript. Semicolon is optional in Ruby
2673358 CF-4126700 CFwatson U. Added By: PreRelease User User Name:Sean Corfield Note Added: Confirmed that per-application mappings work in 9/15 Alpha. Thank you! Date Added :2015-09-15 21:17:10.0
Added By: PreRelease User User Name:Adam Cameron Note Added: +1 Date Added :2015-07-18 06
2673372 CF-4126683 CFwatson U. Added By: PreRelease User User Name:Adam Cameron Note Added: Yeah, CLI.getUnnamedArgs() seems to work OK in the beta released 2015-12-07 Date Added :2015-12-08 08:25:03.0
Added By: PreRelease User User Name:Sean Corfield Note Added: Verified still open in 9/15 Alpha
2673404 CF-4126638 CFwatson U. Added By: PreRelease User User Name:Sean Corfield Note Added: Confirmed working in 9/15 build. Date Added :2015-09-15 21:11:17.0
Added By:hkallae Note Added: It's duplicate of #CF-4020872 Date Added :2015-08-31 08:06:20.0
Added By:himar Note Added: Turns out
Tracker Issue Cannot use /usr/bin/env to create executable
2673393 CF-4126651 CLI Sean Corfield Cannot use /usr/bin/env to create executable Problem Description:
A common trick with other languages is to write a shell script using #!/usr/bin/env that accepts the rest of the shell script as input and runs it using the specified language interpreter
2599420 CF-3040214 Database : General Sean Corfield Bug 80196:An empty list passed to causes an exception to be thrown (because "" is not a valid integer) Problem:
An empty list passed to causes an exception to be thrown (because "" is not a valid integer). This is plain silly! WHERE x
2599421 CF-3040211 Language : CFSCRIPT Sean Corfield Bug 80194:Keys in a struct literal are incorrectly treated as keywords Problem:
Keys in a struct literal are incorrectly treated as keywords.Since x.contains = 1; is perfectly legal, x = { contains = 1 }; should also be perfectly legal.
Method
Tracker Issue Bug 80193:123 is serialized to 123
2599422 CF-3040210 Language : Functions Sean Corfield Bug 80193:123 is serialized to 123 Problem:
123 is serialized to 123.0 in JSON (using the serializeJSON() function). This can cause problems for systems expecting literal values (such as the Transparensee search engine).The workaround is to add
Tracker Issue Bug 74842:The new handling of local scope breaks included files relying on local variables
2602129 CF-3037197 Language : CFSCRIPT Sean Corfield Bug 74842:The new handling of local scope breaks included files relying on local variables Problem:
The new handling of local scope breaks included files relying on local variables.
A common approach in framework-style code is to include a view
2602146 CF-3037178 Language : CFSCRIPT Sean Corfield Bug 74802:Allow for (item in collection) syntax to work for *all* types of collection Problem:
Allow for (item in collection) syntax to work for *all* types of collection.
Currently you can use for (key in someStruct) to loop over a structure
2602188 CF-3037134 Language : CFSCRIPT Sean Corfield Bug 74742:component { } does not allow surrounding tags Problem:
component { } does not allow surrounding tags.
It should be possible to use the new script component syntax inside tags because that's consistent with previous behavior
Tracker Issue Bug 74109:(Watson Migration Closure)Method calls on VARIABLES scope CFCs do not scale linearly
2602307 CF-3037000 Language : CF Component Sean Corfield Bug 74109:(Watson Migration Closure)Method calls on VARIABLES scope CFCs do not scale linearly Problem:
Method calls on VARIABLES scope CFCs do not scale linearly.
Method calls on APPLICATION scope CFCs scale linearly
Tracker Issue Bug 73814:mail
2602445 CF-3036847 Language Sean Corfield Bug 73814:mail Problem:
mail.cfc (and other script tags) are not thread safe.
Expected usage is to create an instance of these CFCs and store default values there. The send() / execute() methods state that additional arguments provided are used just
2602448 CF-3036844 Server Manager Sean Corfield Bug 73811:On initial launch, password dialog is mostly off-screen Problem:
On initial launch, password dialog is mostly off-screen.
When the Server Manager is installed and launched for the first time, the dialog to set a (new) password is mostly
Tracker Issue Bug 72926:onMissingMethod() is not invoked for calls made to missing methods inside a component
2603138 CF-3035960 Language : CF Component Sean Corfield Bug 72926:onMissingMethod() is not invoked for calls made to missing methods inside a component Problem:
onMissingMethod() is not invoked for calls made to missing methods inside a component.
Groovy's invokeMethod() - the equivalent to on
Tracker Issue Bug 72073:When a CAR is created, there is no way to include the definition of the CAR itself in the archive
2603699 CF-3035294 Administrator : Administrator Console Sean Corfield Bug 72073:When a CAR is created, there is no way to include the definition of the CAR itself in the archive Problem:
When a CAR is created, there is no way to include the definition of the CAR itself in the archive. This means
2673356 CF-4126702 CFwatson U. Added By: PreRelease User User Name:Sean Corfield Note Added: Thank you for the update. That sounds like the best solution overall since we'll get better performance with no need for users to worry about the issue (and immutability would be a novel concept for many
2673377 CF-4126677 CFwatson U. Added By: PreRelease User User Name:Adam Cameron Note Added: Seemed to be a pointless change to me anyhow (and, yes, I read the thing about the pointless lawyers making pointless demands of you). Date Added :2015-07-21 20:10:01.0
Added By: PreRelease User User Name:Sean
2608746 CF-4012852 External U. @Rupesh Kumar Well, the fix may look like an enhancement, but it's to fix a buggy behavior that has no practical work-around.
@Sean Corfield "I think Rupesh's suggestion -- to add a new way to specify an ORM-specific constructor is a great idea "
I'm just saying
Tracker Issue Calling writedump twice throws exception
2673404 CF-4126638 CLI Sean Corfield Calling writedump twice throws exception Duplicate ID: CF-4020872
Problem Description:
If you attempt to call writedump twice in a CLI script, you get an exception.
Steps to Reproduce:
(! 536)-> cf.sh dump.cfm
123
Aug 28, 2015 11:48:18 AM Error [main
Tracker Issue Bug 75861:com
2601590 CF-3037799 Language : CF Component Sean Corfield Bug 75861:com Duplicate ID: CF-3038003
Problem:
com.adobe.coldfusion.* CFCs are not thread safe. Here's the email I posted on the forum listing problems in system.cfc and base.cfc - the other CFCs should be checked as well for any and all
Portal Topic The power of ColdFusion functions and closures
Sean Corfield The power of ColdFusion functions and closures The ColdFusion ecosystem has a number of MVC (Model-View-Controller) frameworks — with ColdBox and FW/1 (Framework One) currently being the most popular — and some of them are directly inspired by MVC frameworks in other technologies: cf
Tracker Issue serializeJSON() doesn't escape control characters
2608291 CF-4136028 Language : Serialization Bradley Wood serializeJSON() doesn't escape control characters As reported by Sean Corfield in CFML Slack
Problem Description:
serializeJSON() doesn't escape control characters
Steps to Reproduce:
writedump(serializeJSON("I don" & chr(18) & "t know
Tracker Comment Comment on Add functionality to specify an exit code to be returned to the shell by CFwatson U.
2673350 CF-4126709 CFwatson U. Added By: PreRelease User User Name:Sean Corfield Note Added: Nice to see CF-4021637 addressed in the 9/15 build.
I tested that calling java.lang.System.exit(142) does return 142 as the shell script status, but it also outputs an ugly Thread Error message.
Have you
2673351 CF-4126708 CFwatson U. Added By: PreRelease User User Name:Sean Corfield Note Added: Confirmed that the 9/15 build exits with 1 if an unhandled exception is thrown (i.e., onError() is not invoked). That's a good first step. We still need CF-4021635 addressed, so we can decide ourselves
Tracker Comment Comment on Version Delimiter by CFwatson U.
2673357 CF-4126701 CFwatson U. Added By:prk Note Added: This has been fixed. Date Added :2015-09-28 10:25:24.0
Added By: PreRelease User User Name:Sean Corfield Note Added: Verified still open in 9/15 Alpha :( Date Added :2015-09-15 21:13:26.0
Added By: PreRelease User User Name:Adam Cameron Note
Tracker Issue Bug 82579:(Watson Migration Closure)Function call should be allowed on any expression that yields a function:
2598503 CF-3041263 Language Sean Corfield Bug 82579:(Watson Migration Closure)Function call should be allowed on any expression that yields a function: Problem:
Function call should be allowed on any expression that yields a function:
s[key]( args ); // should be legal
arr[ n ]( args ); // should
Tracker Issue Bug 80192:The DataDirect MySQL driver will not connect to a Community Edition MySQL database
2599423 CF-3040209 Database : General Sean Corfield Bug 80192:The DataDirect MySQL driver will not connect to a Community Edition MySQL database Problem:
The DataDirect MySQL driver will not connect to a Community Edition MySQL database. This will surprise many and annoy people who want to use
Tracker Issue Bug 80082:Unable to declare a local variable called valueList which breaks existing code
2599448 CF-3040181 Language : Tags Sean Corfield Bug 80082:Unable to declare a local variable called valueList which breaks existing code Problem:
Unable to declare a local variable called valueList which breaks existing code.That's a perfectly reasonable variable declaration but it fails as a
2601573 CF-3037816 Administrator : Administrator Console Sean Corfield Bug 75879:Please allow control over scope lookup in the CF Administrator Duplicate ID: CF-3036170
Problem:
Please allow control over scope lookup in the CF Administrator. You added the ability to control the lookup
Tracker Issue Bug 75859:Calling a UDF passed as an argument fails
2601592 CF-3037797 Language : CF Component Sean Corfield Bug 75859:Calling a UDF passed as an argument fails Problem:
Calling a UDF passed as an argument fails. This breaks Transfer ORM!
Prior to Centaur Beta 1, the following code worked:
function test(arg) { return "hello " & arg; }
function
2601627 CF-3037762 Language : CF Component Sean Corfield Bug 75806:(Watson Migration Closure)Component metadata omits attributes when the user omits them but it would be more useful if the metadata always contains the attributes, with the default values, as this would make it easier for metad
2602213 CF-3037108 Language : CFSCRIPT Sean Corfield Bug 74612:Transfer ORM framework will not run on Centaur due to CFSCRIPT changes Problem:
Transfer ORM framework will not run on Centaur due to CFSCRIPT changes.
The code contains a declaration:
var property = 0;
This raises an error
2616153 CF-3035293 Administrator : Administrator Console Sean Corfield Bug 72072:Unnamed application scope gives access to a *lot* of information Problem:
Unnamed application scope gives access to a *lot* of information. Provide an option in CF Admin to prevent access to unnamed application scope
Tracker Issue Numeric literals should be Double, not String
2608707 CF-4019629 Language : Java Integration Sean Corfield Numeric literals should be Double, not String The fact that ColdFusion stores numeric literals as strings and converts them on demand makes Java interop harder than it needs to be because you have to insert casts all over the place. See
2613733 CF-3173191 Language : CFSCRIPT Sean Corfield for/in with query has inconsistent behavior compared to cfloop Duplicate ID: CF-3808648
Problem Description: When you loop over a query with cfloop, qryname.currentRow is updated for each row and qryName.col is also updated to refer to each row
for object literal argument notation:
in addition to the current
As Sean Corfield noted, CF already allows : in named arguments...
function func( foo, bar ) {
return foo & bar;
}
x = func( foo : 42, bar : "answer" );
writeOutput(x);
Also:
x = func( argumentCollection : { foo = 42, bar
Tracker Comment Comment on CF should detect if the cfm is completely written in script without the cfscript tag by CFwatson U.
Release User User Name:Sean Corfield Note Added: What I would prefer to see would be for CLI to inspect the first non-whitespace character in the requested file and if it's " .. " -- this is what happens for CFC files, for example, where they can contain either tags or script, but you do not need to wrap
Tracker Comment Comment on [ANeff] ER for: final immutability by Aaron N.
: not so much."
James Mohler: "When I have something locked down, I want it to stay locked down."
Sean Corfield and I agree w/ the above and proposed:
s1 = {simple="simple"}
final s2 = {simple="simple", complex=s1}
s2.simple = "changed"//this should fail
s2.complex.simple = "changed
Tracker Issue String member functions break existing code that relies on java.lang.String member functions
2609881 CF-3753710 Core Runtime Sean Corfield String member functions break existing code that relies on java.lang.String member functions Problem Description: Code that relies on myStr.replace(a,b) to support a possibly being an empty string now breaks.
Steps to Reproduce:
#s
Tracker Issue Tag body silently ignored when it "must" be empty
2614216 CF-3125298 Language : Tags Sean Corfield Tag body silently ignored when it "must" be empty Problem Description:
According to the docs (for cfthread):
"For all actions except run, the cfthread tag must have an empty body and be followed immediately by a end tag, or must have no end tag
Tracker Issue [ANeff] ER for: Explicitly nullable return types
Related URL: https://wiki.php.net/rfc/nullable_types
Credit: Adam Cameron, Sean Corfield, Denard Springle and Charlie Arehart.
5881510.
Question: Should CF be using java.lang.Double like Lucee? Any other less-edge-casey issues that would arise from CF choosing Long over Double?
Credit also to Sean Corfield.
2598403 CF-3041373 Language : CFSCRIPT Sean Corfield Bug 82757:Struct literals are not allowed in function argument defaults in cfscript Problem:
Struct literals are not allowed in function argument defaults in cfscript.
Method:
// the default for arg3 causes a parse error:function test( struct
Tracker Issue Bug 75855:Tag validation error in servermanager
2601595 CF-3037794 Server Manager Sean Corfield Bug 75855:Tag validation error in servermanager Problem:
Tag validation error in servermanager.cfc when client retrieves data sources. It seems to be about ODBC data sources - and I'm on a Mac so I don't have any ODBC services. Presumably just code
Tracker Issue Bug 74760:&= operator is broken
2602173 CF-3037148 Language : CFSCRIPT Sean Corfield Bug 74760:&= operator is broken Problem:
&= operator is broken.
This is the thread from the forums:
Another change between CF8 and CF9. ER coming once the bug tracker is back up.
Code:
CF8 result:
struct
STR more
CF9 result:
The web
"Unable to initialize Runtime service: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean". All future requestst of the runtime service fail, resulting in 500 Server Error on all pages.
Method:
My document root is c:\htdocs. I have installed Sean Corfield's FrameWork/1