Page 1 of 1

Problem WIth DataUtilities (and a possible fix)

Posted: Wed Feb 04, 2009 8:56 pm
by KevinK
In DataUtilities/parseTextData
there are 3 places where series.add is done, but only one of those places does a check against a value <0 (which should add in a null)

My fix was to duplicate the <0 checking logic the other 2 cases.

The problem showed up when parsing a datastring like this:

a -1 in the middle of a series was fine, but at then end or immediately after a "|" would put a -1 in the dataseries, not a null.

I can include a "diff" if this is not clear.