[xwiki-users] hasAccessRights() doesn't work properly
Hey everyone, We upgraded from XWiki 1.2 to XWiki 1.7.2, and exported all created pages and spaces from the old to the new version. We created new users and groups in the new version, using the user names and group names that had been used for the old version. Customizing the 'Quick Links' panel using code like #if ($xwiki.hasAccessLevel(view,space name.WebHome)) * link #end works for the old settings (i.e. space rights for users and groups). However, it doesn't work for newly created spaces. It doesn't work for newly created groups either. Nonetheless, it works when setting admin space rights for the newly created groups and/or spaces. Since this seems to be a bug, I created the Jira issue XE-440. I still would like to hear, if some of you have a similar problem. Best regards, Sascha ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Group Management
Hey everybody, We recently upgraded our company's XWiki from version 1.2 to 1.8. To keep the migration as comfortable as possible for our users (and to save some work), we decided to export not only the contents but also the user accounts and rights settings (i.e. the whole 'XWiki' space) of the old version, and import them into the new version. Doing so brought up a problem we couldn't solve: After importing the XWiki.xar, it is impossible to change the group settings (edit group members...) using the dialog that opens when clicking the 'edit' symbol (the pen on the right). Instead, we have to use the 'edit objects' functionality to manually edit the group members. Moreover, creating a new group using the 'add new group' dialog, the newly created group exists, but doesn't show up in the list of groups as long as it hasn't got any members. Does anyone of you know how to solve that problem? Any help would be appreciated. Best regards, Sascha ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Bug : Out of memory when deleting a 8mo attached file
Hey Christophe, Hey everybody, This problem looks like the same problem that may occur with the import of large files into XWiki. Try to allocate more memory to the JVM. I had a similar problem yesterday (using XWiki in a Tomcat environment), and solved it that way. HTH, Sascha PERINAUD Christophe wrote: Hello, When i try to delete an attached file of 8Mo, i got this exception : A problem occured while trying to service your request. Please contact the support if this happens again. Detailed information: Error number 11014 in 11: Out Of Memory Exception com.xpn.xwiki.XWikiException: Error number 11014 in 11: Out Of Memory Exception at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2804) at com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(XWikiDocument.java:2782) at com.xpn.xwiki.web.DeleteAttachmentAction.action(DeleteAttachmentAction.java:72) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:135) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568) at org.mortbay.http.HttpContext.handle(HttpContext.java:1565) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633) at org.mortbay.http.HttpContext.handle(HttpContext.java:1517) at org.mortbay.http.HttpServer.service(HttpServer.java:954) at org.mortbay.http.HttpConnection.service(HttpConnection.java:816) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) Do i have to change a parameter somewhere (launch of jetty ?) to disable this problem ? Thank you System : Windows Server 2003 SP2 in a VMWare instance Oracle 10g Java 1.6.0_12 Xwiki 1.7.1 from the pack Jetty/HSQL ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Problems w/ displaying HTML Entities as Plaintext
Thank you very much, Vincent and Sergiu! Sergiu, the workaround you suggested is perfect. But you were right, it was quite a bunch of work :-) One more question came up: Shall I share this piece of information as a FAQ on xwiki.org? I'm not sure, because the XWiki 2.0 Syntax offers a more efficient workaround for versions 1.7 and up. Hence, the workaround for older versions might be outdated. What do you think? Best regards, Sascha ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Problems w/ displaying HTML Entities as Plaintext
Hey everyone, While using XWiki version 1.1.2.5797 to document some software, the following problem occurred: I tried to insert snippets of a XSL file into a XWiki page using a {code} macro. As far as I know this macro treats input as plaintext, which would be exactly what I need. However, it turned out to work differently. It parsed HTML entities, so instead of displaying inputs like lt;!ENTITY Auml quot;amp;#196;quot;gt; exactly as they are, the HTML parts are parsed to !ENTITY Auml #196; Having failed with the {code} macro, I tried {pre} and \, but none of them worked. The same problem occurred when I used XWiki 1.7 which is running on a test server in the company I work for. Does anyone of you know how to make XWiki display HTML and XML entities as plaintext? I could not find anything about this problem in the documentation, the FAQ, or in the mailing list archive. Did I simply miss something? Since I read some threads about issues with the WYSIWYG editor, let me add that I use the XWiki editor, not the WYSIWYG editor. Any help would be greatly appreciated! Best regards, Sascha ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users