Support Article
Getting an error when reading email from the mail box using Conn
SA-14310
Summary
If the response from Connect-REST which is using a external service includes documents in binary stream and if this binary stream is attached to the work object, the data is getting corrupted and the user is unable to view this document when it opens.
Error Messages
Not Applicable.
STEPS TO REPRODUCE
1.Create a Connec-REST that gets the response as word document in the form of binary stream write the response to a clipboard.
2.Read the stream from clipboard and attach it to work object.
3.Open the Word Document that is attached to the Work object and observe that it is corrupted.
Root Cause
A defect in Pegasystems’ code or rules.
The byte stream we are getting response from the Connect-REST is getting converted to a string before it is getting attached to the clipboard
RESOLUTION
HFix-22778 resolves the issue.
Published October 19, 2015 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.