Orbeon Forms 2020.1 - Error uploading in new File Attachment control
Hello, I have updated to the latest Orbeon Forms 2020.1 version and it gives
this error when trying to load a file in the new control. This error occurs
in the docker environment and not on a localhost with tomcat. The previous
version did not give any problem in the docker environment. I attach the
Thanks a lot.
Re: Orbeon Forms 2020.1 - Error uploading in new File Attachment control
What have you set your temporary directory to be (value of the
`java.io.tmpdir` property)? Is it by any chance something different than
`/opt/tomcat/appsrv1/apache-tomcat-8.5.32/temp`, like a symlink that points
to the same place?
If so, try setting it exactly to
`/opt/tomcat/appsrv1/apache-tomcat-8.5.32/temp`. The reason for this is that
Orbeon Forms checks, for security reasons, that the temporary file it is
trying to read from is indeed in the temporary directory set with
`java.io.tmpdir`, and that this check can fail if using symlinks.