I’m working getting our set of packages working in WM 6.01 and ran into this annoying problem. In 4.6 you can call pub.date:dateTimeFormat with a null value for inString and it returns null without error.
Unfortunantly one of our developers (really, it wasn’t me, I swear! :-)) put roughly 200 identical calls to pub.date:dateTimeFormat in various map steps throughout our code.
My intial idea is to write a wrapper that checks for NULL and makes sure it doesn’t call dateTimeFormat unless there is a valid value.
Now the problem becomes finding and replacing all the calls to my wrapper function which could take a long time and is risk prone since I don’t want to miss one and discover problems at runtime…
Does anyone have any quick workaround for this problem? Thanks!