Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): / ext-user (Immanuel Noel)
Created: 11/19/2014
Components: Language
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: CF11_Final / CF11 Update5
Priority/Frequency: Major / Most users will encounter
Locale/System: English / Mac 10 All,Win XP All
Vote Count: 0
Problem:
This bug was raised for better tracking. The original, customer reported bug is 3851484.
The bug states that IsValid operations on "eurodate" and "USdate" with "null" as the value return unexpected results.
Method:
Run the below code,
isValid("eurodate", javaCast("null", ""))
isValid("USdate", javaCast("null", ""))
Result:
isValid("eurodate", javaCast("null", "")) returns YES
isValid("USdate", javaCast("null", "")) returns java.lang.NullPointerException
Expected:
Both cases should return NO especially since isDate(javaCast("null", "")) returns NO.
Workaround:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3854303
External Customer Info:
External Company:
External Customer Name:
External Customer Email:
Attachments:
Comments: