XWiki 1.1-M1 non-admins have no results
I've recently installed XWiki 1.1 milestone 1. I and a couple of others are in the admin group, but everyone else is in the "all" group. For some reason, only admins can see the search results. Others can see the search page and can submit a search, but they never see in results. I'm running this under Jetty on Win32 using wrapper.exe to run it as a service. In the wrapper.log, I see the following types of exceptions, but I don't know if these correlate to just those who can't see results, or everybody: INFO | jvm 1 | 2007/06/18 10:37:29 | 10:37:29,344 WARN P1-17 http://wikiserver/xwiki/bin/skin/skins/albatross/icons/black-edit-ab2.png XWikiAction:execute:185 - Uncaught exception: Error number 0 in 11: Uncaught exception INFO | jvm 1 | 2007/06/18 10:37:29 | Wrapped Exception: null INFO | jvm 1 | 2007/06/18 10:37:29 | com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception INFO | jvm 1 | 2007/06/18 10:37:29 | Wrapped Exception: null INFO | jvm 1 | 2007/06/18 10:37:29 | at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:165) INFO | jvm 1 | 2007/06/18 10:37:29 | at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) INFO | jvm 1 | 2007/06/18 10:37:29 | at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) INFO | jvm 1 | 2007/06/18 10:37:29 | at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) INFO | jvm 1 | 2007/06/18 10:37:29 | at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) INFO | jvm 1 | 2007/06/18 10:37:29 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) INFO | jvm 1 | 2007/06/18 10:37:29 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) INFO | jvm 1 | 2007/06/18 10:37:29 | at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428) INFO | jvm 1 | 2007/06/18 10:37:29 | at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830) INFO | jvm 1 | 2007/06/18 10:37:29 | at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:118) INFO | jvm 1 | 2007/06/18 10:37:29 | at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) INFO | jvm 1 | 2007/06/18 10:37:29 | at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471) INFO | jvm 1 | 2007/06/18 10:37:29 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568) INFO | jvm 1 | 2007/06/18 10:37:29 | at org.mortbay.http.HttpContext.handle(HttpContext.java:1565) INFO | jvm 1 | 2007/06/18 10:37:29 | at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633) INFO | jvm 1 | 2007/06/18 10:37:29 | at org.mortbay.http.HttpContext.handle(HttpContext.java:1517) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.mortbay.http.HttpServer.service(HttpServer.java:954) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.mortbay.http.HttpConnection.service(HttpConnection.java:816) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) INFO | jvm 1 | 2007/06/18 10:37:30 | INFO | jvm 1 | 2007/06/18 10:37:30 | INFO | jvm 1 | 2007/06/18 10:37:30 | Wrapped Exception: INFO | jvm 1 | 2007/06/18 10:37:30 | INFO | jvm 1 | 2007/06/18 10:37:30 | INFO | jvm 1 | 2007/06/18 10:37:30 | java.lang.IllegalStateException INFO | jvm 1 | 2007/06/18 10:37:30 | at org.mortbay.jetty.servlet.ServletHttpResponse.getWriter(ServletHttpResponse.java:564) INFO | jvm 1 | 2007/06/18 10:37:30 | at com.xpn.xwiki.web.XWikiServletResponse.getWriter(XWikiServletResponse.java:93) INFO | jvm 1 | 2007/06/18 10:37:30 | at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:117) INFO | jvm 1 | 2007/06/18 10:37:30 | at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:159) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) INFO | jvm 1 | 2007/06/18 10:37:30 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) INFO | jvm 1 | 2007/06/18 10:37:30 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830) INFO | jvm 1 | 2007/06/18 10:37:30 | at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:118) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.mortbay.http.HttpContext.handle(HttpContext.java:1565) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.mortbay.http.HttpContext.handle(HttpContext.java:1517) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.mortbay.http.HttpServer.service(HttpServer.java:954) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.mortbay.http.HttpConnection.service(HttpConnection.java:816) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) INFO | jvm 1 | 2007/06/18 10:37:30 | com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception INFO | jvm 1 | 2007/06/18 10:37:30 | Wrapped Exception: null INFO | jvm 1 | 2007/06/18 10:37:30 | at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:165) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) INFO | jvm 1 | 2007/06/18 10:37:30 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) INFO | jvm 1 | 2007/06/18 10:37:30 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830) INFO | jvm 1 | 2007/06/18 10:37:30 | at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:118) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.mortbay.http.HttpContext.handle(HttpContext.java:1565) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.mortbay.http.HttpContext.handle(HttpContext.java:1517) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.mortbay.http.HttpServer.service(HttpServer.java:954) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.mortbay.http.HttpConnection.service(HttpConnection.java:816) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) INFO | jvm 1 | 2007/06/18 10:37:30 | at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) INFO | jvm 1 | 2007/06/18 10:37:30 | INFO | jvm 1 | 2007/06/18 10:37:30 | INFO | jvm 1 | 2007/06/18 10:37:30 | Wrapped Exception: INFO | jvm 1 | 2007/06/18 10:37:30 | INFO | jvm 1 | 2007/06/18 10:37:31 | java.lang.IllegalStateException INFO | jvm 1 | 2007/06/18 10:37:31 | at org.mortbay.jetty.servlet.ServletHttpResponse.getWriter(ServletHttpResponse.java:564) INFO | jvm 1 | 2007/06/18 10:37:31 | at com.xpn.xwiki.web.XWikiServletResponse.getWriter(XWikiServletResponse.java:93) INFO | jvm 1 | 2007/06/18 10:37:31 | at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:117) INFO | jvm 1 | 2007/06/18 10:37:31 | at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:159) INFO | jvm 1 | 2007/06/18 10:37:31 | at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) INFO | jvm 1 | 2007/06/18 10:37:31 | at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) INFO | jvm 1 | 2007/06/18 10:37:31 | at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) INFO | jvm 1 | 2007/06/18 10:37:31 | at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) INFO | jvm 1 | 2007/06/18 10:37:31 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) INFO | jvm 1 | 2007/06/18 10:37:31 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) INFO | jvm 1 | 2007/06/18 10:37:31 | at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428) INFO | jvm 1 | 2007/06/18 10:37:31 | at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830) INFO | jvm 1 | 2007/06/18 10:37:31 | at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:118) INFO | jvm 1 | 2007/06/18 10:37:31 | at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) INFO | jvm 1 | 2007/06/18 10:37:31 | at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471) INFO | jvm 1 | 2007/06/18 10:37:31 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568) INFO | jvm 1 | 2007/06/18 10:37:31 | at org.mortbay.http.HttpContext.handle(HttpContext.java:1565) INFO | jvm 1 | 2007/06/18 10:37:31 | at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633) INFO | jvm 1 | 2007/06/18 10:37:31 | at org.mortbay.http.HttpContext.handle(HttpContext.java:1517) INFO | jvm 1 | 2007/06/18 10:37:31 | at org.mortbay.http.HttpServer.service(HttpServer.java:954) INFO | jvm 1 | 2007/06/18 10:37:31 | at org.mortbay.http.HttpConnection.service(HttpConnection.java:816) INFO | jvm 1 | 2007/06/18 10:37:31 | at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983) INFO | jvm 1 | 2007/06/18 10:37:31 | at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833) INFO | jvm 1 | 2007/06/18 10:37:31 | at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) INFO | jvm 1 | 2007/06/18 10:37:31 | at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) INFO | jvm 1 | 2007/06/18 10:37:31 | at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) INFO | jvm 1 | 2007/06/18 10:37:31 | java.lang.IllegalStateException INFO | jvm 1 | 2007/06/18 10:37:31 | at org.mortbay.jetty.servlet.ServletHttpResponse.getWriter(ServletHttpResponse.java:564) INFO | jvm 1 | 2007/06/18 10:37:31 | at com.xpn.xwiki.web.XWikiServletResponse.getWriter(XWikiServletResponse.java:93) INFO | jvm 1 | 2007/06/18 10:37:31 | at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:117) INFO | jvm 1 | 2007/06/18 10:37:31 | at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:52) INFO | jvm 1 | 2007/06/18 10:37:31 | at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:187) INFO | jvm 1 | 2007/06/18 10:37:31 | at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) INFO | jvm 1 | 2007/06/18 10:37:31 | at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) INFO | jvm 1 | 2007/06/18 10:37:31 | at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) INFO | jvm 1 | 2007/06/18 10:37:31 | at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) INFO | jvm 1 | 2007/06/18 10:37:31 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:596) INFO | jvm 1 | 2007/06/18 10:37:31 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) INFO | jvm 1 | 2007/06/18 10:37:31 | at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428) INFO | jvm 1 | 2007/06/18 10:37:31 | at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830) INFO | jvm 1 | 2007/06/18 10:37:31 | at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:118) INFO | jvm 1 | 2007/06/18 10:37:31 | at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821) INFO | jvm 1 | 2007/06/18 10:37:31 | at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471) INFO | jvm 1 | 2007/06/18 10:37:31 | at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568) INFO | jvm 1 | 2007/06/18 10:37:31 | at org.mortbay.http.HttpContext.handle(HttpContext.java:1565) INFO | jvm 1 | 2007/06/18 10:37:31 | at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633) INFO | jvm 1 | 2007/06/18 10:37:31 | at org.mortbay.http.HttpContext.handle(HttpContext.java:1517) INFO | jvm 1 | 2007/06/18 10:37:31 | at org.mortbay.http.HttpServer.service(HttpServer.java:954) INFO | jvm 1 | 2007/06/18 10:37:31 | at org.mortbay.http.HttpConnection.service(HttpConnection.java:816) INFO | jvm 1 | 2007/06/18 10:37:31 | at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983) INFO | jvm 1 | 2007/06/18 10:37:31 | at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833) INFO | jvm 1 | 2007/06/18 10:37:31 | at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) INFO | jvm 1 | 2007/06/18 10:37:31 | at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) INFO | jvm 1 | 2007/06/18 10:37:31 | at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) Any ideas? Regards, Brian. ----------------------------------------- CONFIDENTIALITY STATEMENT: This e-mail transmission contains information that is intended to be confidential. It is intended only for the addressee named above. If you receive this e-mail in error, please do not read, copy, or disseminate it. If you are not the intended recipient, any disclosure, copying, distribution or use of the contents of this information is prohibited. Please reply to the message immediately by informing the sender that the message was misdirected. After replying, please erase it from your computer system. Your assistance in correcting this error is appreciated.
Hi Brian, On Jun 18, 2007, at 6:10 PM, BSayatovic@amig.com wrote:
I've recently installed XWiki 1.1 milestone 1. I and a couple of others are in the admin group, but everyone else is in the "all" group. For some reason, only admins can see the search results. Others can see the search page and can submit a search, but they never see in results.
I've just tested this on the 1.1M2 version we're going to release tonight or tomorrow and it's working fine. I think it's also working fine in 1.1M1. You need to be aware that the search doesn't return the same results if you're admin and if you're not. The reason is that we exclude the Admin, XWiki and Panels spaces for non-admins. We also exclude the WebPreferences pages. Last the pages displayed are only pages for which the user has "view" access.
I'm running this under Jetty on Win32 using wrapper.exe to run it as a service. In the wrapper.log, I see the following types of exceptions, but I don't know if these correlate to just those who can't see results, or everybody:
INFO | jvm 1 | 2007/06/18 10:37:29 | 10:37:29,344 WARN P1-17 http://wikiserver/xwiki/bin/skin/skins/albatross/icons/black-edit- ab2.png XWikiAction:execute:185 - Uncaught exception: Error number 0 in 11: Uncaught exception
[snip] I don't know what this exception is but there shouldn't be any exception in the console... Do you know what to do to reproduce this exception? Thanks -Vincent
Regarding the visibility of results, I know its not a distinction of access rights. I can give the view URL of some of the results I see as an administrator (e.g. we have a page named PRISM) to a non-admin and they can view it just fine. They can also follow wiki links to those pages. Yet when they search for those pages, they don't come up while when I search for them they do show up in the search results. Regarding how I produce the exception, I think it is during the executionof a search (or the rendering of the results). What completely throws me off, though, is the file referenced in the exception: http://wikiserver/xwiki/bin/skin/skins/albatross/icons/black-edit-ab2.png What could possibly be wrong with an image? Now I've also been tweaking the theme a little bit which I'ms tarting to think might have broken this. I wish I could track down what is broken so I don't have to start over from scratch again. Regards, Brian. Vincent Massol <vincent@massol.n et> To xwiki-users@objectweb.org 06/18/2007 12:24 cc PM Subject Re: [xwiki-users] XWiki 1.1-M1 Please respond to non-admins have no results xwiki-users@objec tweb.org Hi Brian, On Jun 18, 2007, at 6:10 PM, BSayatovic@amig.com wrote:
I've recently installed XWiki 1.1 milestone 1. I and a couple of others are in the admin group, but everyone else is in the "all" group. For some reason, only admins can see the search results. Others can see the search page and can submit a search, but they never see in results.
I've just tested this on the 1.1M2 version we're going to release tonight or tomorrow and it's working fine. I think it's also working fine in 1.1M1. You need to be aware that the search doesn't return the same results if you're admin and if you're not. The reason is that we exclude the Admin, XWiki and Panels spaces for non-admins. We also exclude the WebPreferences pages. Last the pages displayed are only pages for which the user has "view" access.
I'm running this under Jetty on Win32 using wrapper.exe to run it as a service. In the wrapper.log, I see the following types of exceptions, but I don't know if these correlate to just those who can't see results, or everybody:
INFO | jvm 1 | 2007/06/18 10:37:29 | 10:37:29,344 WARN P1-17 http://wikiserver/xwiki/bin/skin/skins/albatross/icons/black-edit- ab2.png XWikiAction:execute:185 - Uncaught exception: Error number 0 in 11: Uncaught exception
[snip] I don't know what this exception is but there shouldn't be any exception in the console... Do you know what to do to reproduce this exception? Thanks -Vincent -- You receive this message as a subscriber of the xwiki-users@objectweb.org mailing list. To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org For general help: mailto:sympa@objectweb.org?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws ----------------------------------------- CONFIDENTIALITY STATEMENT: This e-mail transmission contains information that is intended to be confidential. It is intended only for the addressee named above. If you receive this e-mail in error, please do not read, copy, or disseminate it. If you are not the intended recipient, any disclosure, copying, distribution or use of the contents of this information is prohibited. Please reply to the message immediately by informing the sender that the message was misdirected. After replying, please erase it from your computer system. Your assistance in correcting this error is appreciated.
I think I found the problem. In Main.WebSearch, there line that adds extra conditions to the query to exclude certain spaces for non-admins was excluding main: ...doc.web<>'Main' and ... Why would that be? I'm assuming that was what was in the 1.1M1 when I got it, but maybe I fudged it somehow. I'm going to dig through the history and see. Regards, Brian. BSayatovic@amig.c om To 06/18/2007 01:10 xwiki-users@objectweb.org PM cc Subject Please respond to Re: [xwiki-users] XWiki 1.1-M1 xwiki-users@objec non-admins have no results tweb.org Regarding the visibility of results, I know its not a distinction of access rights. I can give the view URL of some of the results I see as an administrator (e.g. we have a page named PRISM) to a non-admin and they can view it just fine. They can also follow wiki links to those pages. Yet when they search for those pages, they don't come up while when I search for them they do show up in the search results. Regarding how I produce the exception, I think it is during the executionof a search (or the rendering of the results). What completely throws me off, though, is the file referenced in the exception: http://wikiserver/xwiki/bin/skin/skins/albatross/icons/black-edit-ab2.png What could possibly be wrong with an image? Now I've also been tweaking the theme a little bit which I'ms tarting to think might have broken this. I wish I could track down what is broken so I don't have to start over from scratch again. Regards, Brian. Vincent Massol <vincent@massol.n et> To xwiki-users@objectweb.org 06/18/2007 12:24 cc PM Subject Re: [xwiki-users] XWiki 1.1-M1 Please respond to non-admins have no results xwiki-users@objec tweb.org Hi Brian, On Jun 18, 2007, at 6:10 PM, BSayatovic@amig.com wrote:
I've recently installed XWiki 1.1 milestone 1. I and a couple of others are in the admin group, but everyone else is in the "all" group. For some reason, only admins can see the search results. Others can see the search page and can submit a search, but they never see in results.
I've just tested this on the 1.1M2 version we're going to release tonight or tomorrow and it's working fine. I think it's also working fine in 1.1M1. You need to be aware that the search doesn't return the same results if you're admin and if you're not. The reason is that we exclude the Admin, XWiki and Panels spaces for non-admins. We also exclude the WebPreferences pages. Last the pages displayed are only pages for which the user has "view" access.
I'm running this under Jetty on Win32 using wrapper.exe to run it as a service. In the wrapper.log, I see the following types of exceptions, but I don't know if these correlate to just those who can't see results, or everybody:
INFO | jvm 1 | 2007/06/18 10:37:29 | 10:37:29,344 WARN P1-17 http://wikiserver/xwiki/bin/skin/skins/albatross/icons/black-edit- ab2.png XWikiAction:execute:185 - Uncaught exception: Error number 0 in 11: Uncaught exception
[snip] I don't know what this exception is but there shouldn't be any exception in the console... Do you know what to do to reproduce this exception? Thanks -Vincent -- You receive this message as a subscriber of the xwiki-users@objectweb.org mailing list. To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org For general help: mailto:sympa@objectweb.org?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws ----------------------------------------- CONFIDENTIALITY STATEMENT: This e-mail transmission contains information that is intended to be confidential. It is intended only for the addressee named above. If you receive this e-mail in error, please do not read, copy, or disseminate it. If you are not the intended recipient, any disclosure, copying, distribution or use of the contents of this information is prohibited. Please reply to the message immediately by informing the sender that the message was misdirected. After replying, please erase it from your computer system. Your assistance in correcting this error is appreciated. -- You receive this message as a subscriber of the xwiki-users@objectweb.org mailing list. To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org For general help: mailto:sympa@objectweb.org?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Hi Brian, On Jun 18, 2007, at 7:46 PM, BSayatovic@amig.com wrote:
I think I found the problem. In Main.WebSearch, there line that adds extra conditions to the query to exclude certain spaces for non-admins was excluding main:
...doc.web<>'Main' and ...
Right. I forgot to mention that space. I think it's me who added it a few releases back but I couldn't find a reason I had added it and thus I've removed that exclusion in 1.1M2 about a week ago (it now only excludes Admin, XWiki and Panels spaces).
Why would that be? I'm assuming that was what was in the 1.1M1 when I got it, but maybe I fudged it somehow. I'm going to dig through the history and see.
Yep, it was there I think but it's no longer in 1.1M2. Thanks -Vincent
BSayatovic@amig.c om
To 06/18/2007 01:10 xwiki-users@objectweb.org
PM cc
Subject Please respond to Re: [xwiki-users] XWiki 1.1-M1 xwiki-users@objec non-admins have no results tweb.org
Regarding the visibility of results, I know its not a distinction of access rights. I can give the view URL of some of the results I see as an administrator (e.g. we have a page named PRISM) to a non-admin and they can view it just fine. They can also follow wiki links to those pages. Yet when they search for those pages, they don't come up while when I search for them they do show up in the search results.
Regarding how I produce the exception, I think it is during the executionof a search (or the rendering of the results). What completely throws me off, though, is the file referenced in the exception:
http://wikiserver/xwiki/bin/skin/skins/albatross/icons/black-edit- ab2.png
What could possibly be wrong with an image?
Now I've also been tweaking the theme a little bit which I'ms tarting to think might have broken this. I wish I could track down what is broken so I don't have to start over from scratch again.
Regards, Brian.
Vincent Massol <vincent@massol.n
et> To xwiki-users@objectweb.org 06/18/2007 12:24 cc PM
Subject Re: [xwiki-users] XWiki 1.1-M1 Please respond to non-admins have no results xwiki-users@objec tweb.org
Hi Brian,
On Jun 18, 2007, at 6:10 PM, BSayatovic@amig.com wrote:
I've recently installed XWiki 1.1 milestone 1. I and a couple of others are in the admin group, but everyone else is in the "all" group. For some reason, only admins can see the search results. Others can see the search page and can submit a search, but they never see in results.
I've just tested this on the 1.1M2 version we're going to release tonight or tomorrow and it's working fine.
I think it's also working fine in 1.1M1. You need to be aware that the search doesn't return the same results if you're admin and if you're not. The reason is that we exclude the Admin, XWiki and Panels spaces for non-admins. We also exclude the WebPreferences pages. Last the pages displayed are only pages for which the user has "view" access.
I'm running this under Jetty on Win32 using wrapper.exe to run it as a service. In the wrapper.log, I see the following types of exceptions, but I don't know if these correlate to just those who can't see results, or everybody:
INFO | jvm 1 | 2007/06/18 10:37:29 | 10:37:29,344 WARN P1-17 http://wikiserver/xwiki/bin/skin/skins/albatross/icons/black-edit- ab2.png XWikiAction:execute:185 - Uncaught exception: Error number 0 in 11: Uncaught exception
[snip]
I don't know what this exception is but there shouldn't be any exception in the console... Do you know what to do to reproduce this exception?
Thanks -Vincent
-- You receive this message as a subscriber of the xwiki- users@objectweb.org mailing list. To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org For general help: mailto:sympa@objectweb.org?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/ wws
----------------------------------------- CONFIDENTIALITY STATEMENT: This e-mail transmission contains information that is intended to be confidential. It is intended only for the addressee named above. If you receive this e-mail in error, please do not read, copy, or disseminate it. If you are not the intended recipient, any disclosure, copying, distribution or use of the contents of this information is prohibited. Please reply to the message immediately by informing the sender that the message was misdirected. After replying, please erase it from your computer system. Your assistance in correcting this error is appreciated.
-- You receive this message as a subscriber of the xwiki- users@objectweb.org mailing list. To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org For general help: mailto:sympa@objectweb.org?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/ wws
-- You receive this message as a subscriber of the xwiki- users@objectweb.org mailing list. To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org For general help: mailto:sympa@objectweb.org?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/ wws
Hi, I need to set value of text box during registration. How do i set value for first name and last name. #set($prop = $class.first_name) <dt>$msg.get("firstname"):</dt> <dd>$doc.displayEdit($prop, "register_", $obj)</dd> #set($prop = $class.last_name) <dt>$msg.get("lastname"):</dt> <dd>$doc.displayEdit($prop, "register_", $obj)</dd> Thank you Jinoy.r
participants (3)
-
BSayatovic@amig.com -
jinoy jinoy -
Vincent Massol