Reply To: BUG: KeyNotFoundException (and fix) fsRecoveryProcessor

Forums 💬 FlowCanvas ⚙️ Support BUG: KeyNotFoundException (and fix) fsRecoveryProcessor Reply To: BUG: KeyNotFoundException (and fix) fsRecoveryProcessor

#21615
drumstig
Participant

    [quote quote=2271]The serialized fields definetely do contain the underscore (you can confirm this by opening up the MissingNode.cs file for example), but this has recently changed. Thus, the only way I can see this happening is if you upgraded with some Missing Nodes already existing in some of your graphs like stated above.[/quote]

    hi,

    yes i did an update to flowcanvas and it probably contained some missing nodes.
    im in the process of taking over a project, still searching for the flow script with the missing nodes

    for now i added an extra check on both with and withouth underscores

    OnBeforeDeserialize(

    var json = data.AsDictionary;
    FIELD_NAME_TYPE  = (json.ContainsKey(“_missingType”)) ? “_missingType” : “missingType”;
    FIELD_NAME_STATE = (json.ContainsKey(“_recoveryState”)) ? “_recoveryState” : “recoveryState”;