Ah, that test was in a later commit. Is the cheap fix as simple as:
if (dateField == null) return " ";
-Alex
On 3/11/14 4:46 PM, "Justin Mclean" <[email protected]> wrote:
>Hi ,
>
>Sorry my mistake data is not set to null if dataField is null only if the
>dataField doesn't exist.
>
>if (dataField != null)
>{
> if (dataField in data)
> data = data[dataField];
> else
> data = null;
>}
>
>But the real question is if dataField is null should it try to call
>data.toString or not?
>
>Justin
