Problem with latin file name

Former SVN Browser
weslei
Posts: 2
Joined: Tue Jul 04, 2006 2:54 pm

Problem with latin file name

Postby weslei » Tue Jul 04, 2006 7:34 pm

I tried to enter on a directory that has a latin file name: "Relatórios de Consultoria" and it can't go inside it becouse of the ó. I'm brazilian and here there is a lot common words with á, é, ã, ç, ô, etc. Is there any way that it can be fixed?
The exception that occurs when I try to access such resources is:

Message:
org.polarion.svnwebclient.data.DataProviderException: org.tmatesoft.svn.core.SVNException: '/repos/!svn/bc/3429/SAV/Rels/Relat%C3%83%C2%B3rios%20de%20Consultoria' path not found: 404 Not Found (https://svn.swtham.com.br)

Stack trace:
org.polarion.svnwebclient.SVNWebClientException: org.polarion.svnwebclient.data.DataProviderException: org.tmatesoft.svn.core.SVNException: '/repos/!svn/bc/3429/SAV/Rels/Relat%C3%83%C2%B3rios%20de%20Consultoria' path not found: 404 Not Found (https://svn.swtham.com.br)
at org.polarion.svnwebclient.web.controller.AbstractBean.execute(AbstractBean.java:58)
at org.apache.jsp.directoryContent_jsp._jspService(directoryContent_jsp.java:61)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
at org.polarion.svnwebclient.authorization.impl.BindSessionsFilter.doFilter(BindSessionsFilter.java:48)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:233)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
at org.polarion.svnwebclient.web.CharsetFilter.doFilter(CharsetFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:233)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:257)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:732)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688)
at java.lang.Thread.run(Thread.java:534)
Caused by: org.polarion.svnwebclient.data.DataProviderException: org.tmatesoft.svn.core.SVNException: '/rep/!svn/bc/3429/Ana-Doc/ATAN/Relat%C3%83%C2%B3rios%20de%20Consultoria' path not found: 404 Not Found (https://svn.swfactory.com.br)
at org.polarion.svnwebclient.data.javasvn.DataProvider.getDirectory(DataProvider.java:250)
at org.polarion.svnwebclient.data.javasvn.DataProvider.getDirectory(DataProvider.java:195)
at org.polarion.svnwebclient.web.controller.directory.DirectoryContentBean.executeSVNOperation(DirectoryContentBean.java:69)
at org.polarion.svnwebclient.web.controller.AbstractBean.execute(AbstractBean.java:51)
... 37 more
Caused by: org.tmatesoft.svn.core.SVNException: '/rep/!svn/bc/3429/Ana-Doc/ATAN/Relat%C3%83%C2%B3rios%20de%20Consultoria' path not found: 404 Not Found (https://svn.swfactory.com.br)
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getDir(DAVRepository.java:347)
at org.polarion.svnwebclient.data.javasvn.DataProvider.getDirectory(DataProvider.java:203)
... 40 more

At the web interface of the repository or another clients such files are handled normally...

Thanks,
Weslei

ivinnykov
Posts: 473
Joined: Tue Jan 03, 2006 11:57 am
Location: Kharkiv, Ukraine

Postby ivinnykov » Wed Jul 12, 2006 8:43 am

Dear Weslei,

It seems that URL encoding works incorrectly: ó is replaced by %C3%83%C2%B3, which IMO is not correct. Nevertheless Russian and German symbols are supported correctly.

Thank you for bug reporting. This bug was posted to our Tracker for further processing.
Best regards,
Igor Vinnykov
Polarion Team

liamrocker
Posts: 4
Joined: Sat Jul 08, 2006 3:42 pm

German symbols

Postby liamrocker » Thu Jul 13, 2006 5:13 pm

Hi,

I habe the same problem when accessing a directory which includes the german symbols ä, ö or ü.

Clicking on it results in the following exception:

javax.servlet.ServletException: org.polarion.svnwebclient.data.DataProviderException: Incorrect location
at org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:858)
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
at org.apache.jsp.invalidResourse_jsp._jspService(invalidResourse_jsp.java:127)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.polarion.svnwebclient.authorization.impl.BindSessionsFilter.doFilter(BindSessionsFilter.java:48)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.polarion.svnwebclient.web.CharsetFilter.doFilter(CharsetFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)

ivinnykov
Posts: 473
Joined: Tue Jan 03, 2006 11:57 am
Location: Kharkiv, Ukraine

Postby ivinnykov » Wed Jul 26, 2006 10:49 am

Hello all,

From the provided stack trace I see that you use Tomcat 5. In this case as defined in readme.txt you should setup character encoding to UTF-8 in server.xml (for example: <Connector port="8080" URIEncoding="UTF-8" ... />). Absence of this setting cause the same problem as you reported.
Best regards,

Igor Vinnykov

Polarion Team


Return to “Polarion SVN Web Client”

Who is online

Users browsing this forum: No registered users and 2 guests