Dear Servoy,
We are experiencing some issues/difficulties with the generation of reports through a headless client.
Our current production setup is synchronous execution, but this can add anywhere from 10s tot a few minutes where the UI is blocked.
We are trying to move it to a background job, however any attempt at using blobs or base64 for images has been less than successful.
The funky part is that the headless client when ran in the IDE works as expected, an image appears on the report.
However, when running in our test environment (a docker container built through Servoy cloud pipeline) the resulting report has "null" instead of an image.
I've double checked, the data is there. I am seeing differing behaviour between the developer's application server and your docker template's application server in this regard.
The imageExpression line in our report for adding images is:
<imageExpression class="java.io.InputStream"><![CDATA[new java.io.ByteArrayInputStream(java.util.Base64.getDecoder().decode($F{SOME_FOUNDSET_BASED_BASE64_IMAGE_SOURCE}.getBytes()))]]></imageExpression>
I would really appreciate any tips and best practice information regarding the use of blobs in jasperreports with the JSFoundset.