Not able to download rule template with spaces and & in file name from RHPAM/RHDM 7.4
Issue
- Not able to download rule template with spaces and & in file name from RHPAM/RHDM 7.4. Download fails with exception:
ERROR [org.uberfire.server.FileDownloadServlet] (default task-20) Failed to download a file.: org.uberfire.java.nio.file.NoSuchFileException
at org.uberfire.java.nio.fs.jgit.JGitFileSystemProvider.readAttributes(JGitFileSystemProvider.java:2076)
at org.uberfire.java.nio.file.Files.readAttributes(Files.java:638)
at org.uberfire.java.nio.file.Files.size(Files.java:825)
at org.uberfire.java.nio.file.Files.readAllBytes(Files.java:1186)
at org.uberfire.io.impl.AbstractIOService.readAllBytes(AbstractIOService.java:450)
at org.uberfire.server.FileDownloadServlet.doGet(FileDownloadServlet.java:61)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:686)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:791)
at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
Environment
- Red Hat Decision Manager
- 7.4.x
- Red Hat Process Automation Manager
- 7.4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.