I have used xwiki-plugin-webdav-1.0-20081212.093310-998.jar from http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/plugins/xwiki-plugin-webdav/1.0-SNAPSHOT/
- Karsten > Hi Asiri > > That helped with the listing. Thanks > > But when I push the Edit button I get a 500 server error that produces > this error. > > Any ideas what might go wrong ? > > Thanks > - Karsten > > 2008-12-17 17:06:35,219 > [http://223.9.0.148:8080/xwiki/webdav/spaces/Main/WebHome/ahh.xls] > [http-8080-Processor22] ERROR webdav.DavServlet - WebDAV > Exception Occurred : > org.apache.jackrabbit.webdav.DavException > at > com.xpn.xwiki.plugin.webdav.resources.views.RootView.decode(RootView.java:105) > at > com.xpn.xwiki.plugin.webdav.resources.views.RootView.decode(RootView.java:83) > at > com.xpn.xwiki.plugin.webdav.utils.XWikiDavResourceFactory.createResource(XWikiDavResourceFactory.java:120) > at > com.xpn.xwiki.plugin.webdav.utils.XWikiDavResourceFactory.createResource(XWikiDavResourceFactory.java:91) > at > com.xpn.xwiki.plugin.webdav.DavServlet.service(DavServlet.java:272) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) > at > com.xpn.xwiki.plugin.webdav.DavFilter.doFilter(DavFilter.java:68) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) > at > com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:96) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) > at > com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) > at > com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) > at > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) > at > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) > at > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) > at java.lang.Thread.run(Thread.java:619) > Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to > lookup component role > [com.xpn.xwiki.plugin.webdav.resources.XWikiDavResource] for hint > [spaces-baseview] > at > org.xwiki.plexus.manager.PlexusComponentManager.lookup(PlexusComponentManager.java:78) > at > com.xpn.xwiki.plugin.webdav.resources.views.RootView.decode(RootView.java:99) > ... 31 more > Caused by: > org.codehaus.plexus.component.repository.exception.ComponentLookupException: > Component descriptor cannot be found in the component repository: > com.xpn.xwiki.plugin.webdav.resources.XWikiDavResource [spaces-baseview] > (lookup realm: ClassRealm[plexus.core, parent: null]). > at > org.codehaus.plexus.DefaultComponentLookupManager.lookup(DefaultComponentLookupManager.java:139) > at > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:277) > at > org.xwiki.plexus.manager.PlexusComponentManager.lookup(PlexusComponentManager.java:76) > ... 32 more > > >> Hi Karsten, >> >> Recently we decided to change the approach we take towards determining >> webdav urls for given attachments ( >> http://n2.nabble.com/-WEBDAV--Getting-rid-of-xwiki-webdav-plugin.-td1586016.html). >> Previously it was through a separate webdav plugin, that's why you see >> something like: >> >> javascript:davEdit('$xwiki.webdav.getDavURL($doc, $attach)') >> >> In http://jira.xwiki.org/jira/browse/XE-335 you can see we have >> postponed >> the official release of this feature till 1.8M1 >> >> Anyway, if you still need to make this work, you will have to obtain >> that >> deleted webdav plugin and enable it in your xwiki.cfg file. But I'm not >> sure >> if other developers would agree with this. >> >> Thanks. >> >> - Asiri >> >> >> On Wed, Dec 17, 2008 at 4:20 PM, Karsten Nielsen <[email protected]> >> wrote: >> >>> Hi again >>> >>> I have made a typo javascript:davEdit.... should have been >>> javascript:davEdit('$xwiki.webdav.getDavURL($doc, $attach)') >>> >>> but that made no difference. >>> >>> - Karsten >>> > Hi >>> > >>> > I am trying to be able to edit attachments through the webdav >>> extension. >>> > >>> > I found the WebDAV.XWikiUI.V1.PATCH and applyed it to xwiki version >>> 1.7 >>> > >>> > But am not able to get the right url repencented in >>> > javascript:davEdit($xwiki.getDavURL($doc, $attach)); but hte output >>> is >>> not >>> > translated. >>> > >>> > The link is displayed like this >>> > javascript:davEdit($xwiki.getDavURL($doc, $attach)) and not as show >>> at >>> the >>> > test page: >>> > http://91.121.237.216/xwiki/bin/view/WebDAV/#Attachments >>> > eg >>> > javascript:davEdit(' >>> http://91.121.237.216/xwiki/webdav/spaces/WebDAV/WebHome/gradient.jpg'<http://91.121.237.216/xwiki/webdav/spaces/WebDAV/WebHome/gradient.jpg%27> >>> ); >>> > >>> > Can you give me any pointers ? >>> > >>> > Thanks in advance >>> > >>> > Karsten >>> > >>> > _______________________________________________ >>> > users mailing list >>> > [email protected] >>> > http://lists.xwiki.org/mailman/listinfo/users >>> > >>> >>> >>> _______________________________________________ >>> users mailing list >>> [email protected] >>> http://lists.xwiki.org/mailman/listinfo/users >>> >> _______________________________________________ >> users mailing list >> [email protected] >> http://lists.xwiki.org/mailman/listinfo/users >> > > > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users > _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
