Ok Thx Sergiu.  The workaround you suggested works fine.  I changed the name
of the web app to xwiki.

-Dean


Sergiu Dumitriu-2 wrote:
> 
> saphro wrote:
>> Hi, I just installed 1.9 enterprise and i cannot use the editor to
>> edit/create pages.  Here's the error I get in the browser:
>> 
>> java.lang.StringIndexOutOfBoundsException: String index out of range: -1
>>      java.lang.String.substring(String.java:1938)
>>      java.lang.String.substring(String.java:1905)
>>      com.xpn.xwiki.web.ActionFilter.getTargetURL(ActionFilter.java:147)
>>      com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:99)
>> 
>> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
>> 
>> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
>> 
>> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
>> 
>> Interestingly, the above stacktrace does not appear in my catalina.out
>> (I'm
>> using tomcat 6 and linux).  The only thing in my log are warnings:
>> 
>>  Request URI [/xwiki%2Denterprise%2Dweb%2D1.9/bin/view/Main/] should have
>> matched context path 
>> [/xwiki-enterprise-web-1.9] and servlet path [/bin]
>> 2009-06-13 17:45:34,601
>> [http://xx.xx.xx.xx/xwiki%2Denterprise%2Dweb%2D1.9/bin/edit/Main/test?template=&parent=&title=test]
>> [http-80-3] 
>> 
> 
> This looks like something I might have broken, I'll debug it and let you 
> know shortly.
> 
> In the meantime, can you try renaming the app to 'xwiki' instead of 
> 'xwiki-enterprise-web-1.9'? I suspect that the %2D encoding breaks some 
> substring calls.
> 
> -- 
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/editor-permission-rights--tp3074204p3074489.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to