Bug - Decision Statement Changes Variable Value
Hi Everyone,
I have a reproducable bug in the workflow manager. I use the DisplayResultPicker to get an IList<Graphic> called "listGraphics" and then I use a Flow Decision to check a value in there like this:
listGraphics(0).Attributes("DATE_EDITED") Is Nothing
If I then send anything to the client (this will serialize ALL my objects and send them to the client) it changes the values from "Nothing" to an empty value of some sort. Calling tostring on the object after it comes back gives me an empty string where as previous to this it would raise an error.
I do not believe that serializing the value should change it from Nothing to something. Basically it can break logic in code because an if statement checking an object against the "Nothing" constant will work differently to checking if a value is null or empty using "String.IsNullOrEmpty(object.tostring())".
Is it meant to work like I have described or is there something wrong?
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
0 Kommentare