Article Details
Id:13033
Product:finPOWER Connect
Type:FIX
Version:2.03.00
Opened:23/06/2015
Closed:23/06/2015
Released:09/07/2015
Job: J015770

ISCodeDescriptionList; Code or Description properties may return Nothing rather than a blank String

Adding items with blank Strings to a business layer ISCodeDescriptionList object would cause the properties to be Nothing (in VB.NET, null in C#) rather than a blank String, e.g.:

Dim cdl As ISCodeDescriptionList

cdl = finBL.Runtime.CreateCodeDescriptionList()

cdl.AddItem("X", "")

This would not generally cause any issues but, if the Description property (in the above example) was serialised to either JSON or XML, the result would be unexpected, e.g., "null" in JSON and potentially omitted in XML.