Don't know if this is a bug or incorrect usage...
I am running an import using a process and trying to show the ImportResults.Log.
I place the Log into a Document attribute on a BO in the context and then immediately attempt to show it (would prefer not to drop it into a BO, but I couldn't get DISPLAY DOCUMENT ImportResults.Log to work). The attribute does have the log after the process completes, but it doesn't show during the process. The user sees "No such file or directory" in a message and nothing else.
The relevant rules are:
ThisCar.ImportLog = ImportResults.Log
DISPLAY DOCUMENT ThisCar.ImportLog
This exception is displayed in the log:
rver replied to the original request that some UI operation is required
Exception thrown java.io.IOException No such file or directory
java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:883)
at com.bas.utils.FileUtils.writeFile(Unknown Source)
at com.bas.webapp.thin.a.g.a(Unknown Source)
at com.bas.webapp.thin.misc.j.a(Unknown Source)
at com.bas.webapp.thin.misc.j.a(Unknown Source)
at com.bas.webapp.thin.misc.j.a(Unknown Source)
at com.bas.webapp.thin.a.d.c.a(Unknown Source)
at com.bas.webapp.thin.a.c.a(Unknown Source)
at com.bas.webapp.thin.a.c.a(Unknown Source)
at com.bas.webapp.thin.servlets.WebInterfaceServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803