displaying top 100 results
Tracker Comment Comment on Null by External U.
2608750 CF-4010516 External U. ColdFusion needs NULL support, to hell with backwards compatibility. Please implement real NULL support!
Tracker Comment Comment on Null by External U.
2608750 CF-4010516 External U. I'd like to see better null support.
Tracker Comment Comment on Null by External U.
2608750 CF-4010516 External U. +1 True null support is long overdue.
Portal Topic Null support in ColdFusion 2018
Null support in ColdFusion 2018
Tracker Comment Comment on Null by External U.
2608750 CF-4010516 External U. +1 Full NULL support and it would be great addition in language
Portal Comment Comment on Null support in ColdFusion 2018 by Aaron Neff
Comment on Null support in ColdFusion 2018 by Aaron Neff
Tracker Comment Comment on Null by External U.
2608750 CF-4010516 External U. +1 for this request. Null should be supported.
Comment on [ANeff] Bug for: NULL support removes return type check by Aaron N.
5120520 CF-4203580 Aaron N. Hi Immanuel and Vijay,
ColdFusion 2016, and earlier, converts a null value to an empty string. Thus, CF2018 behavior must match when null support is disabled.
function returnNull() {return;}
function returnEmptyString() {return "";}
writeOutput(returnNull
Tracker Comment Comment on Null by External U.
2608750 CF-4010516 External U. This really does need to be fixed. It's embarrassing for me to admit the language I use most does not support null.
Tracker Comment Comment on Null by External U.
2608750 CF-4010516 External U. Nulls should be inherent in the language - full support
Tracker Issue [ANeff] Bug for: NULL support removes return type check
[ANeff] Bug for: NULL support removes return type check
Tracker Issue Null cannot be used as a component name
4322443 CF-4202429 Language : Null Support Null cannot be used as a component name Problem Description:
Null cannot be used as a component name
Steps to Reproduce:
foo = new Null()//coldfusion.runtime.UndefinedVariableException
writeDump(foo)
Actual Result:
Variable undefined exception
4454539 CF-4202846 Language : Null Support [ANeff] Bug for: NullPointer thrown for UndefinedVariable Issue: NullPointer thrown for UndefinedVariable
Repro 1:
function f(foo) {return foo+1}
f()
Actual and Expected Result with NULL support disabled: coldfusion
Tracker Issue [ANeff] Bug for: elvis nullpointer
4284979 CF-4202296 Language : Null Support [ANeff] Bug for: elvis nullpointer Issue: elvis nullpointer
Repro:
foo = true ?: "bla"
Actual Result: java.lang.NullPointerException (regardless if NULL support is enabled or disabled)
Expected Result: no exception
Tracker Comment Comment on Locally scoped variables with null values may see scope bleed by Vijay M.
5528760 CF-4204121 Vijay M. In ColdFusion 2018, with null support ON I am seeing the expected output. Without null support the explanation is mentioned below-
Explanation for the behavior:
-----------------------------------------
# Prior to null support / when null support is OFF - if you
Tracker Comment Comment on isNull() just doesn't work by External U.
2608667 CF-4028246 External U. FFS Adobe... Give it up. Give us true null support. You're obviously incapable of getting this weird sorta-null support right.
5120520 CF-4203580 Aaron N. +1 - CF2018's behavior, when null support disabled, should match CF2016's. The entire reason for maintaining backward-compat was, well, to maintain backward-compat ;)
Tracker Issue [ANeff] Bug for: local scope has THIS in .cfm
4354238 CF-4202536 Language : Null Support [ANeff] Bug for: local scope has THIS in .cfm Issue: local scope has THIS in .cfm
Steps to Reproduce:
1) Enable NULL support
2) Run in a .cfm:
function f() {
return local
}
writeDump(f())
Actual Result (with NULL support enabled
Comment on [ANeff] Bug for: NULL support removes return type check by Aaron N.
5120520 CF-4203580 Language : Null Support Breaking Change in boolean comparisons when one side is Null Problem Description:
There appears to be a fundamental, breaking change in how null values are evaluated in a comparison. The comparisons below evaluated to False/NO in every version
Comment on [ANeff] Bug for: NULL support removes return type check by Immanuel N.
Tracker Issue Null can't be used as functionName
3538312 CF-4199819 Language : Null Support Adam Cameron Null can't be used as functionName Problem: Null keyword can't be used as function Name inside CFscript.
Method:The following piece of snippet should work for backward compatibility
{code:java}
function null( param1, param2 ){
var x
4353157 CF-4202534 Language : Null Support [ANeff] Bug for: variable named NULL spawns in variables scope Issue: variable named NULL spawns in variables scope
Steps to Reproduce:
1) Enable NULL support
2) Run:
myVar = NULL
writeDump(variables)
Actual Result 1:
-----------
struct
MYVAR
Comment on [ANeff] Bug for: NULL support removes return type check by Immanuel N.
Tracker Comment Comment on [ANeff] Bug for: lack of String member functions on NULL creates backward-compat issue by Immanuel N.
4331938 CF-4202452 Immanuel N. Existing code is not expected to work out of the box with Null Support turned on.
Lack of string member functions, is just one use-case that demonstrates the discrepancy. There are bound to be a large number of old code bases that do not work as expected the moment
Tracker Issue [ANeff] Bug for: isDefined("local.myNull") returns incorrectly when null support enabled
[ANeff] Bug for: isDefined("local.myNull") returns incorrectly when null support enabled
Comment on [ANeff] Bug for: NULL support removes return type check by Immanuel N.
Comment on [ANeff] Bug for: null support ignores conditionals by Vamseekrishna N.
4305454 CF-4202355 Vijay M. Below is what we have decided to implement -
# Null Support Disabled - Old behavior will be retained.
# Null Support Enabled - null as return (implicit or explicit) will be allowed only when the return type has been declared as "Any".
Tracker Comment Comment on 'null' passes typed array validation even with null support disabled by Alexandre P.
Comment on 'null' passes typed array validation even with null support disabled by Alexandre P.
Tracker Comment Comment on [ANeff] Bug for: NULL is not final by Piyush K.
4356580 CF-4202543 Piyush K. with null support enabled, this use case is invalidated since "null" is a keyword, and its use as a variable name is prohibited.
with null support disabled, the output is as expected:
(verified w/ CF2018u7
Tracker Comment Comment on Null by External U.
Comment on Null by External U.
Comment on [ANeff] Bug for: NULL support removes return type check by Aaron N.
'null' passes typed array validation even with null support disabled
Tracker Issue [ANeff] Bug for: NULL cannot be made final
4357107 CF-4202544 Language : Null Support [ANeff] Bug for: NULL cannot be made final Issue: NULL cannot be made final
Steps to Reproduce:
1) Run:
-----------
final null = null
writeDump(null)
-----------
Actual Result: coldfusion.runtime.UndefinedVariableException on line 2
Expected
Tracker Comment Comment on isNull() just doesn't work by External U.
2608667 CF-4028246 External U. This should be fixed. Nearly all languages have full NULL support adn ColdFusion continues with this half baked version that makes no sense
Tracker Comment Comment on 'null' passes typed array validation even with null support disabled by Piyush K.
Comment on 'null' passes typed array validation even with null support disabled by Piyush K.
2672349 CF-4197250 Aaron N. Repro for above comment:
1) On "Settings" page, check "Enable Null Support" and click "Submit Changes"
2) On "Scheduled Tasks" page, try to edit 20181122_3336193.zip's task.
3) See java.lang.NullPointerException (bad)
4) On "Settings" page, uncheck "Enable Null Support
4569365 CF-4203074 Language : Null Support [ANeff] Bug for: per-app null value can be hacked from address bar Issue: per-app null value can be hacked from address bar
Repro:
1) Install CF (standalone w/ default settings)
2) Create this app:
Application.cfc
-----------
component {THIS.name="null
Tracker Issue [ANeff] Bug for: dump hides object methods
4354249 CF-4202537 Language : Null Support [ANeff] Bug for: dump hides object methods Issue: dump hides object methods
Steps to Reproduce:
1) Enable NULL support
2) Create MyCFC.cfc having component {function f() {return local}}
2) Run:
o = new MyCFC()
writeDump(o.f())
Actual Result
Comment on [ANeff] Bug for: NULL support removes return type check by Aaron N.
2612357 CF-3518916 ORM Support ext-user Trying to inserting Null in primitive boolean type throws error for SQLServer Trying to inserting Null in primitive boolean type throws the following error for SQLServer.
[Macromedia][SQLServer JDBC Driver]The specified SQL type is not supported
Tracker Comment Comment on Null coalescing operator by Bradley W.
Comment on Null coalescing operator by Bradley W.
2841445 CF-4198329 ORM Support Darren Gavin Null Ref Exception using Paramaterize Queries with HQL/ORM Problem Description:
java.lang.NullPointerException
at org.hibernate.internal.AbstractQueryImpl.verifyParameters(AbstractQueryImpl.java:415)
at org
Tracker Issue isNull() Fails When Using Scoped Query Variable
6472567 CF-4205912 Language : Null Support isNull() Fails When Using Scoped Query Variable Problem Description:
isNull() fails to return the correct value when using a scoped query field. isNull() also fails when used within a cfif block when using a scoped query field.
Steps to Reproduce
Tracker Issue [ANeff] Bug for: writeDump(BIF) (and cfdump) exception or misleading when NULL enabled
4268228 CF-4202220 Debugging : writeDump [ANeff] Bug for: writeDump(BIF) (and cfdump) exception or misleading when NULL enabled Issue: writeDump(BIF) (and cfdump) exception or misleading when NULL enabled
Steps to Reproduce: Run both below examples with NULL support enabled:
write
Tracker Issue Bug 78911:(Watson Migration Closure)Add support to autodetect nulls passed to CFQUERYPARAM when NULL="AUTO"
Bug 78911:(Watson Migration Closure)Add support to autodetect nulls passed to CFQUERYPARAM when NULL="AUTO"
Tracker Issue [ANeff] Bug for: null support ignores conditionals
[ANeff] Bug for: null support ignores conditionals
2596855 CF-3556075 HariKrishna K. This is partially fixed.
So IsNull will now return false if values are defined.
However, since CF does not have proper Null support yet, it cannot differentiate between nulls and empty strings.
So there will be some incorrect results where IsNull returns false when
Tracker Issue [ANeff] ER for: Explicitly nullable return types
4305454 CF-4202355 Language : Null Support [ANeff] ER for: Explicitly nullable return types Issue: Aether Beta's null support allows non-void UDFs to return null. This breaks backward-compat where users expect the declared return type to be enforced.
Suggestion: Require a leading question mark
Tracker Comment Comment on [ANeff] Bug for: NULL exceptions by Immanuel N.
4288021 CF-4202301 Immanuel N. Aaron,
We were unable to repro this issue.
Can you please provide more details around the following,
* Are you hitting this issue everytime server starts up
* Was null support enabled before a server restart
* Any configurations updated on the server
Tracker Issue [ANeff] Bug for: lack of String member functions on NULL creates backward-compat issue
4331938 CF-4202452 Language : Null Support [ANeff] Bug for: lack of String member functions on NULL creates backward-compat issue Issue: lack of String member functions on NULL creates backward-compat issue
1) query data type is long-existing
2) pre-Aether, cfquery auto-converted NULL to string
3
Tracker Comment Comment on Bug 78911:(Watson Migration Closure)Add support to autodetect nulls passed to CFQUERYPARAM when NULL="AUTO" by External U.
Comment on Bug 78911:(Watson Migration Closure)Add support to autodetect nulls passed to CFQUERYPARAM when NULL="AUTO" by External U.
Tracker Comment Comment on Bug 78911:(Watson Migration Closure)Add support to autodetect nulls passed to CFQUERYPARAM when NULL="AUTO" by External U.
Comment on Bug 78911:(Watson Migration Closure)Add support to autodetect nulls passed to CFQUERYPARAM when NULL="AUTO" by External U.
Tracker Comment Comment on Bug 78911:(Watson Migration Closure)Add support to autodetect nulls passed to CFQUERYPARAM when NULL="AUTO" by External U.
Comment on Bug 78911:(Watson Migration Closure)Add support to autodetect nulls passed to CFQUERYPARAM when NULL="AUTO" by External U.
Tracker Issue [ANeff] Doc Bug for: lack of String member functions on NULL creates backward-compat issue
converted NULL values to string. String member functions were added in CF11. Existing code is using these String member functions on query values. Aether's NULL support prevents cfquery from converting NULL to string. Member functions are not yet type-casting, and Aether didn't add String member functions
Tracker Comment Comment on In CF11 (not 9) , structKeyExists() returns false when cfdump shows true. Which is it? by Rakshith N.
is bubbling up to the null support as a whole, all such scenarios and fixes will be made as a part of introducing null support for CF next. That will be right time for us to break this behavior and let our developers know that the change in behavior is because the key exists with the value being null. I
4353965 CF-4202535 Debugging : CFDump,Language : Null Support [ANeff] Bug for: dump displays local scope as [undefined struct element] Issue: dump displays local scope as [undefined struct element]
Steps to Reproduce:
1) Enable NULL support
2) Run:
function f() {
myVar = NULL//if this isn
Tracker Comment Comment on 'null' passes typed array validation even with null support disabled by Alexandre P.
Comment on 'null' passes typed array validation even with null support disabled by Alexandre P.
5187529 CF-4203783 Language : Null Support [ANeff] Bug for: struct['key'] notation should always work Issue: struct['key'] notation should always work
`struct.key` and `struct['key']` should compile the same (agreeing w/ Brad Wood)
Meaning, `struct?.key` and `struct?['key']` should compile
Comment on [ANeff] Bug for: null support ignores conditionals by Aaron N.
Tracker Comment Comment on [ANeff] Doc Bug for: sparse array loop handling is undocumented by Aaron N.
6120739 CF-4205052 Aaron N. Hi Adobe,
I forgot to mention, the behavior is the same irrespective of if CF2018's null support is enabled or not.
Also, regarding the constructs in the "These loop 4 times", please do not change their behavior.
Thanks!,
-Aaron
Tracker Issue [ANeff] Bug for: NULL is not final
4356580 CF-4202543 Language : Null Support [ANeff] Bug for: NULL is not final Issue: NULL is not final
Steps to Reproduce:
1) Run:
-----------
null = "asdf"
foo = variables.null
bar = null
writeDump(variables)
-----------
Actual Result:
-----------
struct
BAR: asdf
FOO: asdf
NULL
4354351 CF-4202538 Language : Null Support,Wishlist [ANeff] Bug for: null breaks accessors if default defined Issue: null breaks accessors if default defined
Steps to Reproduce:
1) Enable NULL support
2) Create index.cfm having:
-----------
o = new MyCFC()
write
2609302 CF-3860956 Database Gerry Gurevich Provide more fully featured version of Query of Queries (QoQ). Support more functions Almost any ANSI standard SQL command would be welcomed here. In particular I was looking for something in the order by clause that would allow me to sort with NULLS
Tracker Comment Comment on [ANeff] Bug for: NULL exceptions by Aaron N.
support w/ cfqueryparam's null attribute at the time these errors were logged.
I'll see if I can remember what I was doing and follow-up.
It's really too bad that Tracker's email notification system's been broken! I wish I'd have seen Immanuel's message that same day. Can you please ask the Tracker team
Tracker Comment Comment on In CF11 (not 9) , structKeyExists() returns false when cfdump shows true. Which is it? by Milan C.
2608793 CF-3993581 Milan C. I noticed a user suggested to correct the behavior of NULL in ColdFusion altogether.
If I am not wrong there are separate bugs to support NULL.
And that's a part of bigger discussion and decision.
This bug is merely based on StructKeyExists behavior in case
in CF? Or add if null support to cfif?example:#ifNull( user.getName(), "" );
Method:
Result:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3041725
External Customer Info:
External Company:
External Customer Name: Michael Nimer
External
Exists("this"))
writeOutput(foo2.keyExists("this"))
Actual Result: YESYES
Expected Result (and actual result when NULL support is disabled): NONO
Thanks!,
-Aaron
Comment on [ANeff] Bug for: NULL support removes return type check by Aaron N.
Tracker Issue Null Pointer Exception sometimes caused by function expression (closure) inside literal struct
Null Pointer Exception sometimes caused by function expression (closure) inside literal struct
:
----------------------------------Application.cfc ----------------------------------
component{
this.name = "nullTest-T";
this.enableNullSupport = true;
}
---------------------------------- test.cfm ----------------------------------
writeoutput(server.coldfusion.productversion)
writeoutput(application.applicationname)
s1 = {"k1
4354406 CF-4202539 Language : Null Support [ANeff] Bug for: cannot assign null to variables in some scopes from CFC Issue: cannot assign null to variables in some scopes from CFC
Steps to Reproduce:
1) Enable NULL support
2) Create Application.cfc having:
-----------
component {
THIS.name = "My
Tracker Issue [ANeff] Bug for: Binary column disallows NULL
7032360 CF-4207856 Language : Query Functions [ANeff] Bug for: Binary column disallows NULL Issue: myQuery.setCell(myBinaryColumn, null) throws "Invalid data '' for CFSQLTYPE CF_SQL_BINARY"
Repro:
Application.cfc:
-----------
component {THIS.name = "MyApp"; THIS.enableNullSupport = true
Tracker Comment Comment on Amazon S3 Support with DirectoryList by External U.
Comment on Amazon S3 Support with DirectoryList by External U.
Tracker Issue Redefining truthy and falsey values
to be constructed. Consider this ticket a discussion on whether this is even possible and what implications it would have. I assume this might also require an on/off flag such as the null support feature.
This table outlines a suggestion of how the following values would behave when cast to booleans:
Value
Tracker Issue Nulls go to undefined when getQueryRow() is used
3531633 CF-4199809 Language : Null Support David Mitchell Nulls go to undefined when getQueryRow() is used Problem Description:
When getting a row from a query via getQueryRow(), column values become 'undefined'. The keys are present in the struct but attempting to get the value results
2673642 CF-4120071 Suchika S. To support undefined or null variables in if block would be a bigger change and so cannot be taken in an update . We can evaluate that and take a call on it. For now closing this bug.
Test-T";
this.enableNullSupport = true;
}
----------------------------------Test.cfm----------------------------------
writeoutput(server.coldfusion.productversion & "");
writeoutput(application.applicationname);
person = queryNew("id,title","Integer,Varchar",
[
{id=1,title="One"},
{id=2,title
error regarding null pointer.
So discussion now is whether to support undefined or null variables in if block or not.
Which we will not take up in update(in case we decide to do it).
@QE, please reevaluate accordingly.
Comment on [ANeff] Bug for: NULL support removes return type check by Aaron N.
Comment on JDBC driver fails on updating entities with NULL bit fields in MSQL: specified SQL type is not supported by this driver. by External U.
Tracker Comment Comment on CfScript ORM mapping annotation for param/sequence does not work by Martin J.
5075441 CF-4203461 Martin J. Thanks Phill,
The same thing happened to us with a NULL issue and Adobe support shared a hot-fix via Dropbox.
I have to say I am worried that they are sharing bug fixes to install on our production servers that they aren't then including in their official patches
-specific inconsistency makes IS [NOT] NULL checks, in QoQ, unreliable.
Repro:
Application.cfc:
-----------
component {THIS.name = "MyApp"; THIS.enableNullSupport = false;}
-----------
index.cfm
-----------
//Create source query w/ empty cell
mySourceQuery = queryNew("emptyCell", "varchar");
my
Comment on JDBC driver fails on updating entities with NULL bit fields in MSQL: specified SQL type is not supported by this driver. by Himavanth R.
Portal Comment Comment on Public beta for Adobe ColdFusion (2018 release) and Adobe ColdFusion Builder (2018 release) by John Egbert
by 2021 (and we can assume much, much higher 5 years from now). Aka AWS Lambda, etc...so panel-like Admin UI aside, what is Adobe doing to future proof the CF language? Obviously having NULL support is important, but if we can't run any CFML in a modern environment because of licensing issues or what
Tracker Comment Comment on [elvis] CFML: "Elvis" operator and null coalescing operators are two different things G'day: by External U.
2608665 CF-4028653 External U. Hi Awdhesh,
Two questions:
Regarding:
--------------------------------------------
writeoutput( xyz ?? "default");
This outputs:
Null coalescing when using undefined/null: default
--------------------------------------------
1) Is support for ?? added as part
Tracker Comment Comment on [elvis] [peter]: elvis operator returns second operand in some cases even if the first operand is not null by Aaron N.
2608961 CF-3952818 Aaron N. Hi Adobe,
Please populate "Fixed In Build". Currently it is NULL.
I concur w/ the others. Knowingly 1) leaving broken behavior in supported version and 2) not *at least* documenting it as a "Known Issue" is double-wrong.
This ticket was not closed-out properly
2600328 CF-3039143 External U. so rather than dropping, it's just adding another range of supported values..
optional automatic type detection would rock
i filed a similar bug in 78911 about autodecting nulls NULL="AUTO"
the main problem is the length of the tag, CFBIND would be a great alias
Tracker Issue JDBC driver fails on updating entities with NULL bit fields in MSQL: specified SQL type is not supported by this driver.
JDBC driver fails on updating entities with NULL bit fields in MSQL: specified SQL type is not supported by this driver.
Comment on JDBC driver fails on updating entities with NULL bit fields in MSQL: specified SQL type is not supported by this driver. by External U.
2599598 CF-3039923 ORM Support Bob Silverberg Bug 79791:validate/type attributes of cfproperty tag won't work with nulls Duplicate ID: CF-3039803
Problem:
validate/type attributes of cfproperty tag won't work with nulls.If you specify a type="date" or validate="date" ORtype="boolean" or validate
Portal Comment Comment on Public beta for Adobe ColdFusion (2018 release) and Adobe ColdFusion Builder (2018 release) by amar lungare
introduced a tool called Performance Monitoring
Toolset, which is more intuitive, includes more features, and provides better visibility of your
application’s performance.
3. We have made significant improvements to the core language features. Here is a brief list of the
changes:
a. Introduced NULL support
b
Tracker Issue structCopy cannot be used on exception object
5747630 CF-4204401 Language structCopy cannot be used on exception object Problem Description:
structCopy cannot be used on exception object
Steps to Reproduce:
var getNull = function(){};
try {
foo = createObject( 'java', 'java.io.File' ).init( getNull() );
} catch( any e ) {
e = structCopy( e
:transport=dt_socket,server=y,suspend=n,address=5005 […]
The post Java.null.pointer error while migrating to Coldfusion18. appeared first on ColdFusion. 32-bit Support,ColdFusion 2018,Question,2018,32-bit support,cfconfig,coldfusion 11,coldfusion 2018,migration,performance,question,windows 10
Tracker Issue Bug 83590:(Watson Migration Closure)The SQL Server 2008 hierarchyid datatype is not supported by the current driver
].[HierarchyIDBug]([node] [hierarchyid] NOT NULL,[name] [varchar](50) NOT NULL) ON [PRIMARY]GOSET ANSI_PADDING OFFGO2) in a cfquery, run a query against it: select * from hierarchyidbug
Result:
Error Executing Database Query.[Macromedia][SQLServer JDBC Driver]Data type not supported: Unknown: 0xf0
Tracker Comment Comment on [elvis] CFML: "Elvis" operator and null coalescing operators are two different things G'day: by Bradley W.
2608665 CF-4028653 Bradley W. This ticket was a mistake IMO. Elvis was implemented in CFML as a null coalescing operator and it was wrong of us to try and make it into a shortened ternary after the fact. CFML doesn't have the truthy/falsey support it would need to do that and make it work like
Tracker Comment Comment on latest update (June 2019) blocks upload of files with no extension, without offering a way to control that by Peter F.
5961389 CF-4204857 Peter F. One way to address it, aside from adding another setting would be to add a special keyword, eg: no-extension, or null-extension in the extension list, then it could be supported in the Application.cfc, tag level, and Administrator level.
I think there is little chance
2609620 CF-3819753 External U. Using Java 1.8 as a workaround was not an option for me b/c I support a ColdFusion application that runs specifically on Java 1.7, but not 1.8.
This blog entry (http://blog.immanuelnoel.com/2014/06/06/fixing-the-null-pointer-exception-on-coldfusion/) got me past