Title:
[ANeff] Bug for: lack of String member functions on NULL creates backward-compat issue
| View in TrackerStatus/Resolution/Reason: Closed/Withdrawn/AsDesigned
Reporter/Name(from Bugbase): Aaron Neff / ()
Created: 05/16/2018
Components: Language, Null Support
Versions: 2018
Failure Type: Usability Issue
Found In Build/Fixed In Build: 2018.0.01.308605 (PreRelease) /
Priority/Frequency: Normal / Some users will encounter
Locale/System: / Platforms All
Vote Count: 0
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) member functions have existed since CF11 (4 years; 2 full releases)
4) Aether's NULL lacks String member functions
This creates a backward-compat issue for modern code using String member functions on query values.
Example, consider:
5) isNULL() always returned false for query values..
6) ..so len()/trim(len()) was used instead..
7) ..which equate to .len()/.trim().len()..
8) ..which fail in Aether w/ NULL support enabled
And that's not even considering code that does _other stuff_ with stringy query values using member functions.
Attachments:
Comments: