Mantis - Quercus
Viewing Issue Advanced Details
3474 minor always 05-04-09 13:03 05-04-09 13:03
emil  
 
normal  
new 4.0.0  
open  
none    
none  
0003474: Write not supported exception with WordPress theme editor
WordPress 2.7.1 theme editor throws this exception on clicking "Update File"

java.lang.UnsupportedOperationException: com.caucho.vfs.JniRandomAccessFile
    at com.caucho.vfs.JniRandomAccessFile.write(JniRandomAccessFile.java:125)
    at com.caucho.quercus.lib.file.FileInputOutput.write(FileInputOutput.java:326)
    at com.caucho.quercus.lib.file.AbstractBinaryOutput.write(AbstractBinaryOutput.java:83)
    at com.caucho.quercus.lib.file.FileModule.fwrite(FileModule.java:1719)
    at _quercus._wp_22dadmin._theme_22deditor__php.execute(home/emil/web/staging/resin-pro-4.0.s090504/webapps/ROOT/wp-admin/theme-editor.php:57)
    at com.caucho.quercus.env.Env.executePageTop(Env.java:3443)
    at com.caucho.quercus.env.Env.executeTop(Env.java:3389)
    at com.caucho.quercus.servlet.QuercusServletImpl.service(QuercusServletImpl.java:172)
    at com.caucho.quercus.servlet.QuercusServlet.service(QuercusServlet.java:445)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:91)
    at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106)
    at com.caucho.server.rewrite.MatchFilterChain.doFilter(MatchFilterChain.java:90)
    at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:151)
    at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:185)
    at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:264)
    at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:275)
    at com.caucho.server.port.TcpConnection.handleRequests(TcpConnection.java:644)
    at com.caucho.server.port.TcpConnection$KeepaliveTask.run(TcpConnection.java:1368)
    at com.caucho.util.ThreadPool$PoolThread.runTasks(ThreadPool.java:866)
    at com.caucho.util.ThreadPool$PoolThread.run(ThreadPool.java:779)

There are no notes attached to this issue.