I have modified some existing code in a system I support. The code I modified takes a bytes object that was generated from a version of a document and performs a field substitution on original Bytes and returns new Bytes object with the substituted text. It is then saved as a new version of the original document. An existing hack of WebDoc.Utils.NodeToWeb calls $LLIApi.NodeUtil.StreamNodeToSocket( node, newVersion, ctxOut ) to return the altered version to the user for further editing, etc.
All functions return status of OK but the resulting document never gets piped out to the client system. The new version appears to be good in all respects. I can view it, Download it, etc. It just won't get sent to the client system using StreamNodeToSocket(). I have done no modifications to this code. The previouis version of this code does not have this problem.
Does anyone have any insight to what might be going on or how to debug this more thoroughly?
All functions return status of OK but the resulting document never gets piped out to the client system. The new version appears to be good in all respects. I can view it, Download it, etc. It just won't get sent to the client system using StreamNodeToSocket(). I have done no modifications to this code. The previouis version of this code does not have this problem.
Does anyone have any insight to what might be going on or how to debug this more thoroughly?