TestBox: nullValue() in debug() method

Hi everyone.

With nullSupport = true;

I’ve got a problem with TestBox.
When i pass nullValue() in debug() method, TestBox convert null in “null” string.

It’ simple to reproduce:

    function get_test(){
        debug( data );
    }

You get this:

image

Instead of this:

image

causes an error on file

\system\reports\assets\simple.cfm
on line 286

Here:

<cfif !IsNull(thisDebug)>
     <h6>#thisDebug.label#</h6>

because thisDebug (=“Null”) is not null, but not have a “label” key.

It’s possible to solve with an ugly and dirty fix :sweat_smile::

<cfif !IsNull(thisDebug) AND !ISSimpleValue(thisDebug)>

HTH